Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 216.8 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 61.12 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 169.9 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.003034/0.3671, allocations: 0.843 MB / 1.285 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.3673, allocations: 39.8 kB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.3673, allocations: 0 / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.3674, allocations: 11.86 kB / 1.285 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.298e-05/0.3675, allocations: 11.88 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.625e-05/0.3675, allocations: 11.98 kB / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.3676, allocations: 67.83 kB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3678, allocations: 35.97 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.3679, allocations: 27.81 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.096e-05/0.3679, allocations: 31.78 kB / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.3679, allocations: 8 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.368, allocations: 4 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.368, allocations: 15.94 kB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.368, allocations: 31.8 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3681, allocations: 79.09 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3682, allocations: 0 / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3682, allocations: 0 / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3682, allocations: 4 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004491/0.3686, allocations: 310.1 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3687, allocations: 12.03 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.662e-05/0.3687, allocations: 192 / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.3687, allocations: 42.75 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.3687, allocations: 8.891 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3689, allocations: 134.4 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3689, allocations: 384 / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.369, allocations: 20.31 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3691, allocations: 99.61 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3692, allocations: 0 / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3692, allocations: 0 / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3692, allocations: 4 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.3693, allocations: 43.86 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.3698, allocations: 403.8 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.514e-05/0.3699, allocations: 41.19 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.3699, allocations: 21.78 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.3699, allocations: 4 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.37, allocations: 38.5 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.37, allocations: 0 / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001877/0.3702, allocations: 57.58 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3702, allocations: 77.11 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3704, allocations: 160.7 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3704, allocations: 25.7 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.3705, allocations: 108 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.3705, allocations: 8.203 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.3705, allocations: 17.72 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3707, allocations: 322.8 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.3707, allocations: 0 / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.3707, allocations: 25.66 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.3708, allocations: 21.72 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3708, allocations: 4 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.61e-05/0.3709, allocations: 61.58 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3709, allocations: 11.94 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3709, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3709, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.3709, allocations: 4 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.371, allocations: 4 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.371, allocations: 7.891 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.371, allocations: 7.984 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/0.3711, allocations: 113.9 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3711, allocations: 11.89 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.3711, allocations: 11.81 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3712, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3712, allocations: 4 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3712, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.3716, allocations: 441.8 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3716, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.3716, allocations: 11.98 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3716, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3716, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3716, allocations: 7.875 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3716, allocations: 4 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.102e-05/0.3717, allocations: 78.05 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.3718, allocations: 15.92 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.3718, allocations: 7.938 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.156e-05/0.3718, allocations: 4 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.3718, allocations: 0 / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3718, allocations: 4 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.971e-05/0.3719, allocations: 116.1 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3719, allocations: 4 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001858/0.3721, allocations: 7.953 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004612/0.3726, allocations: 0.6171 MB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.3727, allocations: 23.92 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3727, allocations: 160 / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.04e-05/0.3727, allocations: 8 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.3728, allocations: 9.547 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3742, allocations: 1.325 MB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3746, allocations: 0.6968 MB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.3746, allocations: 8.422 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.3747, allocations: 19.44 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.3747, allocations: 0 / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.3972, allocations: 1.733 MB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.7, allocations: 1.875 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.777920280001126]