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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001998/0.001998, allocations: 63.91 kB / 1.134 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9841/0.9861, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001931/0.988, allocations: 1.331 MB / 1.305 GB, free: 31.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1752/1.163, allocations: 148.5 MB / 1.45 GB, free: 3.152 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/1.163, allocations: 1.312 kB / 1.45 GB, free: 3.152 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 5.306e-05/1.163, allocations: 5.906 kB / 1.45 GB, free: 3.148 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/1.163, allocations: 17.09 kB / 1.45 GB, free: 3.137 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/1.165, allocations: 337.2 kB / 1.451 GB, free: 2.969 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/1.165, allocations: 63.16 kB / 1.451 GB, free: 2.949 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/1.165, allocations: 2.453 kB / 1.451 GB, free: 2.949 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/1.165, allocations: 28.16 kB / 1.451 GB, free: 2.941 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/1.165, allocations: 40.33 kB / 1.451 GB, free: 2.922 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/1.165, allocations: 11.61 kB / 1.451 GB, free: 2.914 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009561/1.166, allocations: 427.3 kB / 1.451 GB, free: 2.75 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/1.166, allocations: 21.31 kB / 1.451 GB, free: 2.738 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/1.166, allocations: 26.14 kB / 1.451 GB, free: 2.727 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/1.167, allocations: 166.6 kB / 1.451 GB, free: 2.668 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.167, allocations: 0 / 1.451 GB, free: 2.668 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.323e-06/1.167, allocations: 0 / 1.451 GB, free: 2.668 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.167, allocations: 1.125 kB / 1.451 GB, free: 2.668 MB / 1.139 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.0005516/1.167, allocations: 393.6 kB / 1.452 GB, free: 2.277 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/1.167, allocations: 10.44 kB / 1.452 GB, free: 2.277 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/1.167, allocations: 38 kB / 1.452 GB, free: 2.234 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/1.168, allocations: 36.61 kB / 1.452 GB, free: 2.23 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.168, allocations: 177.9 kB / 1.452 GB, free: 2.02 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.168, allocations: 6.688 kB / 1.452 GB, free: 2.016 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/1.168, allocations: 14.62 kB / 1.452 GB, free: 2.008 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/1.168, allocations: 80.3 kB / 1.452 GB, free: 1.961 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.168, allocations: 4 kB / 1.452 GB, free: 1.957 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/1.168, allocations: 4.906 kB / 1.452 GB, free: 1.953 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.168, allocations: 2.812 kB / 1.452 GB, free: 1.953 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/1.168, allocations: 45.91 kB / 1.452 GB, free: 1.945 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/1.168, allocations: 185.4 kB / 1.452 GB, free: 1.738 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/1.169, allocations: 83.02 kB / 1.452 GB, free: 1.699 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/1.169, allocations: 30.97 kB / 1.452 GB, free: 1.684 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/1.169, allocations: 177.5 kB / 1.453 GB, free: 1.492 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.169, allocations: 37.56 kB / 1.453 GB, free: 1.449 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/1.169, allocations: 0 / 1.453 GB, free: 1.449 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.00165/1.171, allocations: 0.5429 MB / 1.453 GB, free: 1.094 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/1.171, allocations: 58.17 kB / 1.453 GB, free: 1.027 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/1.171, allocations: 101.4 kB / 1.453 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/1.171, allocations: 32.58 kB / 1.453 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/1.171, allocations: 84.45 kB / 1.453 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/1.171, allocations: 68.78 kB / 1.454 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/1.171, allocations: 44.09 kB / 1.454 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.171, allocations: 318.8 kB / 1.454 GB, free: 408 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/1.171, allocations: 39.91 kB / 1.454 GB, free: 396 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/1.172, allocations: 68.12 kB / 1.454 GB, free: 352 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/1.172, allocations: 123.3 kB / 1.454 GB, free: 272 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/1.172, allocations: 5.094 kB / 1.454 GB, free: 268 kB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002726/1.172, allocations: 152.2 kB / 1.454 GB, free: 192 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.172, allocations: 6.688 kB / 1.454 GB, free: 192 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.172, allocations: 1.094 kB / 1.454 GB, free: 192 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.172, allocations: 2.062 kB / 1.454 GB, free: 192 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/1.172, allocations: 38.89 kB / 1.454 GB, free: 188 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.172, allocations: 7 kB / 1.454 GB, free: 184 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/1.172, allocations: 5.156 kB / 1.454 GB, free: 180 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/1.172, allocations: 5.859 kB / 1.454 GB, free: 180 kB / 1.139 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.0001271/1.173, allocations: 131.2 kB / 1.454 GB, free: 44 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/1.173, allocations: 10.14 kB / 1.454 GB, free: 40 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/1.173, allocations: 17.14 kB / 1.454 GB, free: 24 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.173, allocations: 6.172 kB / 1.454 GB, free: 20 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.173, allocations: 4.688 kB / 1.454 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.173, allocations: 1.359 kB / 1.454 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/1.173, allocations: 192.7 kB / 1.455 GB, free: 15.81 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.173, allocations: 1.625 kB / 1.455 GB, free: 15.81 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/1.173, allocations: 38.53 kB / 1.455 GB, free: 15.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.173, allocations: 5.031 kB / 1.455 GB, free: 15.8 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/1.173, allocations: 10.78 kB / 1.455 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.173, allocations: 1 kB / 1.455 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.173, allocations: 4.062 kB / 1.455 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/1.173, allocations: 206.2 kB / 1.455 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/1.174, allocations: 94.88 kB / 1.455 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/1.174, allocations: 1.969 kB / 1.455 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/1.174, allocations: 9.656 kB / 1.455 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/1.174, allocations: 17.78 kB / 1.455 GB, free: 15.56 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/1.174, allocations: 8.906 kB / 1.455 GB, free: 15.56 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.434e-05/1.174, allocations: 77.05 kB / 1.455 GB, free: 15.48 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.174, allocations: 3.938 kB / 1.455 GB, free: 15.48 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002239/1.174, allocations: 26.91 kB / 1.455 GB, free: 15.48 MB / 1.154 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.0007144/1.175, allocations: 0.7502 MB / 1.456 GB, free: 14.82 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000235/1.175, allocations: 105.8 kB / 1.456 GB, free: 14.79 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.175, allocations: 1.219 kB / 1.456 GB, free: 14.79 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/1.175, allocations: 48.56 kB / 1.456 GB, free: 14.78 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/1.175, allocations: 16.62 kB / 1.456 GB, free: 14.77 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/1.178, allocations: 1.821 MB / 1.458 GB, free: 13.24 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/1.178, allocations: 0.6987 MB / 1.458 GB, free: 12.55 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001132/1.178, allocations: 23.42 kB / 1.458 GB, free: 12.54 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/1.178, allocations: 24.95 kB / 1.459 GB, free: 12.52 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/1.178, allocations: 0 / 1.459 GB, free: 12.52 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/1.206, allocations: 2.448 MB / 1.461 GB, free: 12.07 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/9.293, allocations: 14.22 kB / 1.461 GB, free: 12.06 MB / 1.154 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.552266489714384]