Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.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.00204/0.00204, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002553/0.002553, allocations: 216.9 kB / 23.03 MB, free: 4.949 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.876/2.876, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",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.001988/0.001988, allocations: 63.66 kB / 1.118 GB, free: 39.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2987, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002961/0.3016, allocations: 1.331 MB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1679/0.4696, allocations: 130 MB / 1.412 GB, free: 6.895 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.4696, allocations: 0 / 1.412 GB, free: 6.895 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.4697, allocations: 0 / 1.412 GB, free: 6.895 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.4698, allocations: 15.84 kB / 1.412 GB, free: 6.879 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.4711, allocations: 330.7 kB / 1.413 GB, free: 6.555 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.4713, allocations: 67.75 kB / 1.413 GB, free: 6.488 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.4713, allocations: 4 kB / 1.413 GB, free: 6.484 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.4714, allocations: 31.91 kB / 1.413 GB, free: 6.453 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.4715, allocations: 31.89 kB / 1.413 GB, free: 6.422 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.4715, allocations: 4 kB / 1.413 GB, free: 6.418 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008539/0.4723, allocations: 374.8 kB / 1.413 GB, free: 6.051 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.4724, allocations: 19.92 kB / 1.413 GB, free: 6.031 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.4724, allocations: 27.92 kB / 1.413 GB, free: 6.004 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.4728, allocations: 156.6 kB / 1.413 GB, free: 5.855 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4728, allocations: 0 / 1.413 GB, free: 5.855 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4728, allocations: 0 / 1.413 GB, free: 5.855 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4728, allocations: 0 / 1.413 GB, free: 5.855 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005413/0.4734, allocations: 317.9 kB / 1.414 GB, free: 5.516 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4734, allocations: 8.031 kB / 1.414 GB, free: 5.508 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.726e-05/0.4734, allocations: 4.188 kB / 1.414 GB, free: 5.504 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.4735, allocations: 34.75 kB / 1.414 GB, free: 5.461 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.4739, allocations: 48.84 kB / 1.414 GB, free: 5.414 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.474, allocations: 106.1 kB / 1.414 GB, free: 5.285 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.474, allocations: 4 kB / 1.414 GB, free: 5.281 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.4741, allocations: 12 kB / 1.414 GB, free: 5.27 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.4743, allocations: 214.1 kB / 1.414 GB, free: 5.023 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4743, allocations: 0 / 1.414 GB, free: 5.023 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.4744, allocations: 4 kB / 1.414 GB, free: 5.02 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.4744, allocations: 3.938 kB / 1.414 GB, free: 5.016 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.4745, allocations: 43.95 kB / 1.414 GB, free: 4.973 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.4747, allocations: 160.6 kB / 1.414 GB, free: 4.773 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.4749, allocations: 82.69 kB / 1.414 GB, free: 4.684 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.475, allocations: 28.84 kB / 1.414 GB, free: 4.652 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.4752, allocations: 23.92 kB / 1.414 GB, free: 4.629 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4752, allocations: 38.56 kB / 1.414 GB, free: 4.582 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.4752, allocations: 0 / 1.414 GB, free: 4.582 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001496/0.4767, allocations: 483.6 kB / 1.415 GB, free: 4.078 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.4768, allocations: 63.33 kB / 1.415 GB, free: 4.004 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.4769, allocations: 93.86 kB / 1.415 GB, free: 3.902 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4769, allocations: 33.64 kB / 1.415 GB, free: 3.863 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.4769, allocations: 84.52 kB / 1.415 GB, free: 3.777 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.477, allocations: 71.38 kB / 1.415 GB, free: 3.707 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.4771, allocations: 37.72 kB / 1.415 GB, free: 3.664 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4772, allocations: 323 kB / 1.416 GB, free: 3.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.4773, allocations: 43.86 kB / 1.416 GB, free: 3.297 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.4774, allocations: 77.83 kB / 1.416 GB, free: 3.211 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.4776, allocations: 111.3 kB / 1.416 GB, free: 3.09 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4776, allocations: 0 / 1.416 GB, free: 3.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002638/0.4779, allocations: 157.5 kB / 1.416 GB, free: 2.93 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4779, allocations: 6.188 kB / 1.416 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.4779, allocations: 0 / 1.416 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4779, allocations: 4 kB / 1.416 GB, free: 2.922 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.4781, allocations: 43.91 kB / 1.416 GB, free: 2.879 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4781, allocations: 3.938 kB / 1.416 GB, free: 2.875 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.4782, allocations: 16.12 kB / 1.416 GB, free: 2.859 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4782, allocations: 4 kB / 1.416 GB, free: 2.855 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001157/0.4783, allocations: 121.8 kB / 1.416 GB, free: 2.727 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.4784, allocations: 7.953 kB / 1.416 GB, free: 2.719 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.4784, allocations: 24.45 kB / 1.416 GB, free: 2.699 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4784, allocations: 0 / 1.416 GB, free: 2.699 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4784, allocations: 3.938 kB / 1.416 GB, free: 2.695 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4784, allocations: 0 / 1.416 GB, free: 2.695 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4786, allocations: 156.7 kB / 1.416 GB, free: 2.5 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4786, allocations: 0 / 1.416 GB, free: 2.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.4788, allocations: 47.97 kB / 1.416 GB, free: 2.453 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4789, allocations: 0 / 1.416 GB, free: 2.453 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.4789, allocations: 4 kB / 1.416 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4789, allocations: 0 / 1.416 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4789, allocations: 3.938 kB / 1.416 GB, free: 2.445 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.4792, allocations: 206.6 kB / 1.417 GB, free: 2.227 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.4793, allocations: 15.94 kB / 1.417 GB, free: 2.211 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.4793, allocations: 4.062 kB / 1.417 GB, free: 2.207 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.4794, allocations: 7.984 kB / 1.417 GB, free: 2.199 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4795, allocations: 15.92 kB / 1.417 GB, free: 2.184 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.4795, allocations: 8 kB / 1.417 GB, free: 2.176 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.4796, allocations: 87.27 kB / 1.417 GB, free: 2.09 MB / 1.107 GB Notification: Performance of sort global known variables: time 5e-08/0.4796, allocations: 0 / 1.417 GB, free: 2.09 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002329/0.4798, allocations: 24 kB / 1.417 GB, free: 2.066 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0007633/0.4806, allocations: 0.7552 MB / 1.417 GB, free: 1.281 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.4808, allocations: 95.91 kB / 1.417 GB, free: 1.188 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.4808, allocations: 3.938 kB / 1.417 GB, free: 1.184 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/0.4809, allocations: 52.02 kB / 1.418 GB, free: 1.133 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.4812, allocations: 23.92 kB / 1.418 GB, free: 1.109 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.4836, allocations: 1.822 MB / 1.419 GB, free: 15.18 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.4837, allocations: 87.98 kB / 1.419 GB, free: 15.08 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.4838, allocations: 28.62 kB / 1.419 GB, free: 15.05 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.4839, allocations: 27.42 kB / 1.419 GB, free: 15.02 MB / 1.123 GB Notification: Performance of SimCode: time 5.11e-07/0.4839, allocations: 0 / 1.419 GB, free: 15.02 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.5092, allocations: 2.681 MB / 1.422 GB, free: 12.5 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.27, allocations: 14.88 kB / 1.422 GB, free: 12.49 MB / 1.123 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.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: 19.17407417704817]