Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007941/0.0007941, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009149/0.0009149, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8608/0.8608, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.687/1.687, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.179e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001761/0.001782, allocations: 1.321 MB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5109/0.5127, allocations: 130.1 MB / 1.128 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.5128, allocations: 0 / 1.128 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.758e-05/0.5128, allocations: 2.719 kB / 1.128 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.5129, allocations: 17 kB / 1.128 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.5137, allocations: 345.9 kB / 1.128 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.046e-05/0.5138, allocations: 61.48 kB / 1.128 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.5138, allocations: 7.109 kB / 1.128 GB, free: 2.391 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.5139, allocations: 41.36 kB / 1.128 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.514, allocations: 32.52 kB / 1.128 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.514, allocations: 3.438 kB / 1.128 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005593/0.5145, allocations: 376.3 kB / 1.129 GB, free: 2.215 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.5146, allocations: 16.48 kB / 1.129 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.5146, allocations: 26.34 kB / 1.129 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.5149, allocations: 167.2 kB / 1.129 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5149, allocations: 0 / 1.129 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5149, allocations: 0 / 1.129 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.5149, allocations: 5.031 kB / 1.129 GB, free: 2.137 MB / 0.9948 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.0003357/0.5152, allocations: 314.9 kB / 1.129 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5153, allocations: 10.41 kB / 1.129 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.5153, allocations: 38.5 kB / 1.129 GB, free: 1.801 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.5156, allocations: 41.3 kB / 1.129 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.55e-05/0.5156, allocations: 105.3 kB / 1.129 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.5156, allocations: 3.031 kB / 1.129 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.5156, allocations: 15.19 kB / 1.129 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.5158, allocations: 215.8 kB / 1.13 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.5158, allocations: 0 / 1.13 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5158, allocations: 5.188 kB / 1.13 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5158, allocations: 1 kB / 1.13 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.759e-05/0.5159, allocations: 45.58 kB / 1.13 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.516, allocations: 149.3 kB / 1.13 GB, free: 1.273 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.5161, allocations: 87.72 kB / 1.13 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.5162, allocations: 26.94 kB / 1.13 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.5163, allocations: 31.61 kB / 1.13 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.5163, allocations: 41 kB / 1.13 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.5163, allocations: 0 / 1.13 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0008558/0.5172, allocations: 486 kB / 1.131 GB, free: 0.9023 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.5172, allocations: 55.36 kB / 1.131 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.016e-05/0.5172, allocations: 94.45 kB / 1.131 GB, free: 0.7422 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.5173, allocations: 31.08 kB / 1.131 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.01e-05/0.5173, allocations: 89.8 kB / 1.131 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.5173, allocations: 72.17 kB / 1.131 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.5173, allocations: 38.05 kB / 1.131 GB, free: 0.5352 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.643e-05/0.5174, allocations: 328.7 kB / 1.131 GB, free: 216 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.5174, allocations: 38.75 kB / 1.131 GB, free: 204 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.5175, allocations: 77.11 kB / 1.131 GB, free: 152 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.5176, allocations: 108.4 kB / 1.131 GB, free: 88 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5176, allocations: 3.938 kB / 1.131 GB, free: 84 kB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001473/0.5177, allocations: 153 kB / 1.132 GB, free: 8 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5177, allocations: 6.844 kB / 1.132 GB, free: 8 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.5178, allocations: 0 / 1.132 GB, free: 8 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5178, allocations: 3.094 kB / 1.132 GB, free: 8 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.5179, allocations: 42.72 kB / 1.132 GB, free: 0 / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5179, allocations: 3.406 kB / 1.132 GB, free: 0 / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.5179, allocations: 9.547 kB / 1.132 GB, free: 15.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.5179, allocations: 5.031 kB / 1.132 GB, free: 15.99 MB / 1.01 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 6.711e-05/0.518, allocations: 123.3 kB / 1.132 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.518, allocations: 13.48 kB / 1.132 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.518, allocations: 23.31 kB / 1.132 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.518, allocations: 2.406 kB / 1.132 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.518, allocations: 0 / 1.132 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.518, allocations: 2.484 kB / 1.132 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.5182, allocations: 157.4 kB / 1.132 GB, free: 15.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5182, allocations: 1.641 kB / 1.132 GB, free: 15.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.5183, allocations: 42.7 kB / 1.132 GB, free: 15.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5183, allocations: 1.156 kB / 1.132 GB, free: 15.66 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5183, allocations: 1.609 kB / 1.132 GB, free: 15.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.5183, allocations: 4.906 kB / 1.132 GB, free: 15.66 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5183, allocations: 0 / 1.132 GB, free: 15.66 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.5185, allocations: 220.6 kB / 1.132 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.5186, allocations: 12.95 kB / 1.132 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.5186, allocations: 3.094 kB / 1.132 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-05/0.5186, allocations: 9.438 kB / 1.132 GB, free: 15.53 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.5187, allocations: 12.95 kB / 1.132 GB, free: 15.53 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.5187, allocations: 13.75 kB / 1.132 GB, free: 15.52 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.259e-05/0.5187, allocations: 78.06 kB / 1.132 GB, free: 15.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5187, allocations: 0 / 1.132 GB, free: 15.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001436/0.5188, allocations: 29.22 kB / 1.132 GB, free: 15.44 MB / 1.01 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.0003998/0.5192, allocations: 0.7446 MB / 1.133 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.5194, allocations: 103.5 kB / 1.133 GB, free: 14.77 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5194, allocations: 5.375 kB / 1.133 GB, free: 14.76 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.5194, allocations: 53.06 kB / 1.133 GB, free: 14.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.5196, allocations: 12.47 kB / 1.133 GB, free: 14.74 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.5209, allocations: 1.72 MB / 1.135 GB, free: 13.32 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.521, allocations: 87.52 kB / 1.135 GB, free: 13.24 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.187e-05/0.521, allocations: 20.05 kB / 1.135 GB, free: 13.24 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.5211, allocations: 26.25 kB / 1.135 GB, free: 13.23 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.5211, allocations: 4 kB / 1.135 GB, free: 13.23 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.5365, allocations: 3.111 MB / 1.138 GB, free: 12.24 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.523/7.06, allocations: 15.14 kB / 1.138 GB, free: 12.23 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.941605511121452]