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.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.001602/0.001602, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.002055/0.002055, allocations: 186 kB / 20.78 MB, free: 1.539 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.409/1.409, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 63.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.075, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002288/1.077, allocations: 1.352 MB / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1954/1.272, allocations: 148.6 MB / 1.418 GB, free: 8.676 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/1.272, allocations: 3.938 kB / 1.418 GB, free: 8.672 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/1.272, allocations: 3.984 kB / 1.418 GB, free: 8.668 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/1.273, allocations: 18.75 kB / 1.418 GB, free: 8.652 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/1.274, allocations: 327.1 kB / 1.418 GB, free: 8.418 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/1.274, allocations: 64.83 kB / 1.418 GB, free: 8.387 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/1.274, allocations: 2.625 kB / 1.418 GB, free: 8.387 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/1.274, allocations: 35.81 kB / 1.418 GB, free: 8.367 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/1.274, allocations: 32.33 kB / 1.418 GB, free: 8.348 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/1.274, allocations: 3.781 kB / 1.418 GB, free: 8.348 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/1.275, allocations: 440.8 kB / 1.419 GB, free: 8.102 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/1.276, allocations: 21.75 kB / 1.419 GB, free: 8.086 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/1.276, allocations: 22.61 kB / 1.419 GB, free: 8.074 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005017/1.276, allocations: 165.2 kB / 1.419 GB, free: 7.988 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.276, allocations: 0 / 1.419 GB, free: 7.988 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.62e-07/1.276, allocations: 0 / 1.419 GB, free: 7.988 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.276, allocations: 0 / 1.419 GB, free: 7.988 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.0006429/1.277, allocations: 390.6 kB / 1.419 GB, free: 7.59 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.277, allocations: 13.5 kB / 1.419 GB, free: 7.586 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/1.277, allocations: 37.19 kB / 1.419 GB, free: 7.543 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/1.277, allocations: 38.72 kB / 1.419 GB, free: 7.527 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/1.278, allocations: 173 kB / 1.42 GB, free: 7.32 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/1.278, allocations: 7.312 kB / 1.42 GB, free: 7.316 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/1.278, allocations: 13.23 kB / 1.42 GB, free: 7.309 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/1.278, allocations: 77.83 kB / 1.42 GB, free: 7.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.278, allocations: 4.969 kB / 1.42 GB, free: 7.246 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.278, allocations: 1 kB / 1.42 GB, free: 7.246 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.278, allocations: 5.094 kB / 1.42 GB, free: 7.242 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/1.278, allocations: 46.58 kB / 1.42 GB, free: 7.223 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/1.278, allocations: 184.7 kB / 1.42 GB, free: 7.008 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/1.278, allocations: 88.25 kB / 1.42 GB, free: 6.953 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/1.279, allocations: 30.42 kB / 1.42 GB, free: 6.934 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/1.279, allocations: 188.5 kB / 1.42 GB, free: 6.727 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/1.279, allocations: 31.72 kB / 1.42 GB, free: 6.688 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/1.279, allocations: 0 / 1.42 GB, free: 6.688 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.0015/1.28, allocations: 0.542 MB / 1.421 GB, free: 6.285 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/1.28, allocations: 53.59 kB / 1.421 GB, free: 6.223 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/1.28, allocations: 104 kB / 1.421 GB, free: 6.113 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/1.281, allocations: 32.33 kB / 1.421 GB, free: 6.078 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/1.281, allocations: 84.5 kB / 1.421 GB, free: 5.992 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/1.281, allocations: 67.11 kB / 1.421 GB, free: 5.934 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/1.281, allocations: 44.48 kB / 1.421 GB, free: 5.898 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.281, allocations: 328.5 kB / 1.421 GB, free: 5.57 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.43e-05/1.281, allocations: 32.42 kB / 1.421 GB, free: 5.559 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/1.281, allocations: 68.42 kB / 1.422 GB, free: 5.508 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/1.281, allocations: 121.2 kB / 1.422 GB, free: 5.426 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.281, allocations: 1.188 kB / 1.422 GB, free: 5.426 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002724/1.282, allocations: 157.5 kB / 1.422 GB, free: 5.336 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.282, allocations: 5.312 kB / 1.422 GB, free: 5.336 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.282, allocations: 5.328 kB / 1.422 GB, free: 5.332 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.282, allocations: 1.781 kB / 1.422 GB, free: 5.332 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/1.282, allocations: 35.61 kB / 1.422 GB, free: 5.328 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.282, allocations: 6.312 kB / 1.422 GB, free: 5.324 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/1.282, allocations: 5.062 kB / 1.422 GB, free: 5.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/1.282, allocations: 9.719 kB / 1.422 GB, free: 5.316 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.0001028/1.282, allocations: 118.5 kB / 1.422 GB, free: 5.195 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/1.282, allocations: 16.36 kB / 1.422 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/1.282, allocations: 17.47 kB / 1.422 GB, free: 5.168 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.282, allocations: 2.219 kB / 1.422 GB, free: 5.168 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.282, allocations: 5.312 kB / 1.422 GB, free: 5.164 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.282, allocations: 3.984 kB / 1.422 GB, free: 5.16 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/1.282, allocations: 192.7 kB / 1.422 GB, free: 4.941 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.282, allocations: 0 / 1.422 GB, free: 4.941 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/1.282, allocations: 39.3 kB / 1.422 GB, free: 4.934 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.282, allocations: 1.156 kB / 1.422 GB, free: 4.934 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/1.282, allocations: 5.312 kB / 1.422 GB, free: 4.93 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/1.282, allocations: 1.281 kB / 1.422 GB, free: 4.93 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.282, allocations: 7.938 kB / 1.422 GB, free: 4.922 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/1.283, allocations: 215 kB / 1.422 GB, free: 4.781 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/1.283, allocations: 90.8 kB / 1.423 GB, free: 4.68 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/1.283, allocations: 1.344 kB / 1.423 GB, free: 4.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/1.283, allocations: 11.06 kB / 1.423 GB, free: 4.672 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/1.283, allocations: 13.36 kB / 1.423 GB, free: 4.664 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/1.283, allocations: 8.656 kB / 1.423 GB, free: 4.66 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.199e-05/1.283, allocations: 85.77 kB / 1.423 GB, free: 4.578 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.283, allocations: 0 / 1.423 GB, free: 4.578 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002348/1.283, allocations: 29.47 kB / 1.423 GB, free: 4.57 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.0006592/1.284, allocations: 0.7496 MB / 1.423 GB, free: 3.898 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002557/1.284, allocations: 102.4 kB / 1.424 GB, free: 3.859 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.284, allocations: 0 / 1.424 GB, free: 3.859 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/1.284, allocations: 49.5 kB / 1.424 GB, free: 3.844 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/1.285, allocations: 28.28 kB / 1.424 GB, free: 3.824 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/1.287, allocations: 1.822 MB / 1.425 GB, free: 2.223 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/1.287, allocations: 0.7045 MB / 1.426 GB, free: 1.512 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001091/1.287, allocations: 23.02 kB / 1.426 GB, free: 1.5 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/1.287, allocations: 26.98 kB / 1.426 GB, free: 1.48 MB / 1.107 GB Notification: Performance of SimCode: time 4.01e-07/1.287, allocations: 1.875 kB / 1.426 GB, free: 1.48 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/1.317, allocations: 2.426 MB / 1.428 GB, free: 216 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/9.311, allocations: 6.531 kB / 1.428 GB, free: 212 kB / 1.107 GB " [Timeout remaining time 291] (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 --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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[2]=0.002000 " [Timeout remaining time 300] "" Variables in the reference:time,der(hLiqSym),der(hLiqCod),der(hSteSym),der(hSteCod),der(cpSym),der(cpCod),der(cvSym),der(cvCod) Variables in the result:T,X[1],cpCod,cpSym,cvCod,cvSym,der(T),der(X[1]),der(cpCod),der(cpSym),der(cvCod),der(cvSym),der(hAirCod),der(hAirSym),der(hLiqCod),der(hLiqSym),der(hSteCod),der(hSteSym),hAirCod,hAirSym,hLiqCod,hLiqSym,hSteCod,hSteSym,time [Calling sys.exit(0), Time elapsed: 15.214961819001473]