Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001269/0.001269, allocations: 109.7 kB / 16.45 MB, free: 6.453 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.001375/0.001375, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.002/3.002, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",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.001954/0.001954, allocations: 74.06 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00281/0.327, allocations: 1.354 MB / 1.322 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1812/0.5082, allocations: 151.4 MB / 1.47 GB, free: 10.05 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.5083, allocations: 0 / 1.47 GB, free: 10.05 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.5083, allocations: 7.938 kB / 1.47 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.5084, allocations: 19.91 kB / 1.47 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.5096, allocations: 330.6 kB / 1.47 GB, free: 9.699 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.5097, allocations: 71.75 kB / 1.47 GB, free: 9.629 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.5097, allocations: 4 kB / 1.47 GB, free: 9.625 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.5098, allocations: 31.91 kB / 1.47 GB, free: 9.594 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.5099, allocations: 35.89 kB / 1.47 GB, free: 9.559 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.5099, allocations: 4 kB / 1.47 GB, free: 9.555 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009696/0.5109, allocations: 442.9 kB / 1.471 GB, free: 9.121 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.511, allocations: 15.92 kB / 1.471 GB, free: 9.105 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.511, allocations: 27.91 kB / 1.471 GB, free: 9.078 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.5114, allocations: 151.6 kB / 1.471 GB, free: 8.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5114, allocations: 0 / 1.471 GB, free: 8.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5114, allocations: 4 kB / 1.471 GB, free: 8.926 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5114, allocations: 0 / 1.471 GB, free: 8.926 MB / 1.17 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.0005453/0.512, allocations: 398.9 kB / 1.471 GB, free: 8.488 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.512, allocations: 11.98 kB / 1.471 GB, free: 8.477 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.512, allocations: 38.75 kB / 1.471 GB, free: 8.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.5125, allocations: 44.83 kB / 1.471 GB, free: 8.387 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.5126, allocations: 168.1 kB / 1.472 GB, free: 8.184 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.5126, allocations: 4 kB / 1.472 GB, free: 8.18 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.5127, allocations: 12 kB / 1.472 GB, free: 8.168 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.5128, allocations: 81.58 kB / 1.472 GB, free: 8.082 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.5128, allocations: 0 / 1.472 GB, free: 8.082 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.5129, allocations: 4 kB / 1.472 GB, free: 8.078 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5129, allocations: 4 kB / 1.472 GB, free: 8.074 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.513, allocations: 43.89 kB / 1.472 GB, free: 8.031 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.5133, allocations: 189.5 kB / 1.472 GB, free: 7.797 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.5135, allocations: 86.69 kB / 1.472 GB, free: 7.703 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.5136, allocations: 32.78 kB / 1.472 GB, free: 7.668 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.5139, allocations: 174.2 kB / 1.472 GB, free: 7.461 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.514, allocations: 42.5 kB / 1.472 GB, free: 7.41 MB / 1.17 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.514, allocations: 0 / 1.472 GB, free: 7.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001459/0.5155, allocations: 0.5515 MB / 1.473 GB, free: 6.809 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.5155, allocations: 51.41 kB / 1.473 GB, free: 6.746 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.5156, allocations: 97.89 kB / 1.473 GB, free: 6.641 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.5156, allocations: 33.73 kB / 1.473 GB, free: 6.602 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.5157, allocations: 84.52 kB / 1.473 GB, free: 6.516 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.5157, allocations: 71.38 kB / 1.473 GB, free: 6.445 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.5158, allocations: 41.7 kB / 1.473 GB, free: 6.398 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.516, allocations: 318.8 kB / 1.473 GB, free: 6.078 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.516, allocations: 39.91 kB / 1.474 GB, free: 6.039 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.5161, allocations: 77.38 kB / 1.474 GB, free: 5.953 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.5163, allocations: 119.3 kB / 1.474 GB, free: 5.824 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5163, allocations: 0 / 1.474 GB, free: 5.824 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002643/0.5166, allocations: 149.5 kB / 1.474 GB, free: 5.672 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.5166, allocations: 9.719 kB / 1.474 GB, free: 5.664 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5166, allocations: 0 / 1.474 GB, free: 5.664 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5166, allocations: 0 / 1.474 GB, free: 5.664 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.5168, allocations: 43.92 kB / 1.474 GB, free: 5.621 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5168, allocations: 7.938 kB / 1.474 GB, free: 5.613 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.5169, allocations: 8 kB / 1.474 GB, free: 5.605 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.5169, allocations: 8 kB / 1.474 GB, free: 5.598 MB / 1.17 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.0001231/0.517, allocations: 128.6 kB / 1.474 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.517, allocations: 7.953 kB / 1.474 GB, free: 5.457 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.5171, allocations: 16.44 kB / 1.474 GB, free: 5.441 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.5171, allocations: 4 kB / 1.474 GB, free: 5.438 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5171, allocations: 3.938 kB / 1.474 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5171, allocations: 0 / 1.474 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.5173, allocations: 197.7 kB / 1.474 GB, free: 5.191 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5173, allocations: 4 kB / 1.474 GB, free: 5.188 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.5175, allocations: 39.98 kB / 1.474 GB, free: 5.148 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5175, allocations: 3.984 kB / 1.474 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5176, allocations: 3.984 kB / 1.474 GB, free: 5.141 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5176, allocations: 0 / 1.474 GB, free: 5.141 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5176, allocations: 3.938 kB / 1.474 GB, free: 5.137 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.518, allocations: 214.5 kB / 1.475 GB, free: 4.91 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.5181, allocations: 89.05 kB / 1.475 GB, free: 4.805 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.5181, allocations: 8.062 kB / 1.475 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.5183, allocations: 11.98 kB / 1.475 GB, free: 4.785 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.5183, allocations: 15.92 kB / 1.475 GB, free: 4.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.5183, allocations: 7.938 kB / 1.475 GB, free: 4.762 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.5183, allocations: 79.28 kB / 1.475 GB, free: 4.684 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5183, allocations: 0 / 1.475 GB, free: 4.684 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00024/0.5186, allocations: 28 kB / 1.475 GB, free: 4.656 MB / 1.17 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.0007686/0.5194, allocations: 0.7511 MB / 1.476 GB, free: 3.875 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.5196, allocations: 91.95 kB / 1.476 GB, free: 3.785 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5196, allocations: 7.938 kB / 1.476 GB, free: 3.777 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 8.34e-05/0.5197, allocations: 51.91 kB / 1.476 GB, free: 3.727 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.5199, allocations: 19.94 kB / 1.476 GB, free: 3.707 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.5223, allocations: 1.825 MB / 1.477 GB, free: 1.785 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.5226, allocations: 0.7008 MB / 1.478 GB, free: 1.055 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.5228, allocations: 24.62 kB / 1.478 GB, free: 1.031 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.5228, allocations: 23.44 kB / 1.478 GB, free: 1.008 MB / 1.17 GB Notification: Performance of SimCode: time 5.41e-07/0.5228, allocations: 4 kB / 1.478 GB, free: 1.004 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.5513, allocations: 2.438 MB / 1.481 GB, free: 14.63 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/8.176, allocations: 15.19 kB / 1.481 GB, free: 14.62 MB / 1.186 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.355919728055596]