Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 192.5 kB / 16.14 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002653, allocations: 67.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8025, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00288/0.8054, allocations: 1.393 MB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1829/0.9883, allocations: 145.8 MB / 1.16 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.9884, allocations: 0 / 1.16 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.681e-05/0.9885, allocations: 4 kB / 1.16 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.9887, allocations: 15.91 kB / 1.16 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009239/0.9896, allocations: 298.9 kB / 1.161 GB, free: 14.65 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.9897, allocations: 87.67 kB / 1.161 GB, free: 14.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.9898, allocations: 12 kB / 1.161 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.9898, allocations: 27.97 kB / 1.161 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.9899, allocations: 35.83 kB / 1.161 GB, free: 14.49 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.99, allocations: 4 kB / 1.161 GB, free: 14.49 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009253/0.9909, allocations: 494.7 kB / 1.161 GB, free: 14 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.991, allocations: 11.98 kB / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.991, allocations: 27.86 kB / 1.161 GB, free: 13.96 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.9914, allocations: 189.5 kB / 1.162 GB, free: 13.78 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.9914, allocations: 0 / 1.162 GB, free: 13.78 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.81e-07/0.9914, allocations: 0 / 1.162 GB, free: 13.78 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.9914, allocations: 4 kB / 1.162 GB, free: 13.78 MB / 0.92 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.0005101/0.9919, allocations: 387.4 kB / 1.162 GB, free: 13.35 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.992, allocations: 12.03 kB / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.9924, allocations: 40.8 kB / 1.162 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.9925, allocations: 164.3 kB / 1.162 GB, free: 13.1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.9925, allocations: 7.938 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.9926, allocations: 12 kB / 1.162 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.9928, allocations: 85.64 kB / 1.162 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.9928, allocations: 0 / 1.162 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.9928, allocations: 4 kB / 1.162 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.9928, allocations: 0 / 1.162 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.293e-05/0.9929, allocations: 43.95 kB / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.9931, allocations: 197.4 kB / 1.162 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.9933, allocations: 94.62 kB / 1.163 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.9934, allocations: 28.84 kB / 1.163 GB, free: 12.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.9936, allocations: 178.2 kB / 1.163 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.9937, allocations: 38.55 kB / 1.163 GB, free: 12.31 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.9937, allocations: 0 / 1.163 GB, free: 12.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.001384/0.9951, allocations: 0.5455 MB / 1.163 GB, free: 11.71 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.9951, allocations: 51.41 kB / 1.163 GB, free: 11.65 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.9952, allocations: 101.8 kB / 1.163 GB, free: 11.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.9953, allocations: 33.64 kB / 1.163 GB, free: 11.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.9953, allocations: 88.64 kB / 1.164 GB, free: 11.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.9954, allocations: 67 kB / 1.164 GB, free: 11.35 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.9954, allocations: 41.7 kB / 1.164 GB, free: 11.3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.9956, allocations: 322.8 kB / 1.164 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.9957, allocations: 31.98 kB / 1.164 GB, free: 10.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/0.9958, allocations: 63.41 kB / 1.164 GB, free: 10.87 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.996, allocations: 127.3 kB / 1.164 GB, free: 10.73 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.996, allocations: 0 / 1.164 GB, free: 10.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002374/0.9962, allocations: 153.4 kB / 1.164 GB, free: 10.58 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.9962, allocations: 8 kB / 1.164 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9963, allocations: 0 / 1.164 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.9963, allocations: 0 / 1.164 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.9965, allocations: 43.97 kB / 1.164 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.9965, allocations: 7.938 kB / 1.164 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.9965, allocations: 8.062 kB / 1.164 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.9966, allocations: 8 kB / 1.164 GB, free: 10.5 MB / 0.92 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.0001303/0.9967, allocations: 125.8 kB / 1.165 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.9967, allocations: 7.906 kB / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.9968, allocations: 12.44 kB / 1.165 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9968, allocations: 4 kB / 1.165 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.9968, allocations: 0 / 1.165 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.9968, allocations: 7.922 kB / 1.165 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.9971, allocations: 197.6 kB / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9972, allocations: 0 / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.9974, allocations: 39.92 kB / 1.165 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.9974, allocations: 8 kB / 1.165 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.9974, allocations: 0 / 1.165 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9974, allocations: 0 / 1.165 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9974, allocations: 0 / 1.165 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.9978, allocations: 220.2 kB / 1.165 GB, free: 9.82 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.9979, allocations: 92.98 kB / 1.165 GB, free: 9.711 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.998, allocations: 4.062 kB / 1.165 GB, free: 9.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.9981, allocations: 8 kB / 1.165 GB, free: 9.699 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.9981, allocations: 19.92 kB / 1.165 GB, free: 9.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.9982, allocations: 4 kB / 1.165 GB, free: 9.676 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.9982, allocations: 75.28 kB / 1.165 GB, free: 9.602 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9982, allocations: 0 / 1.165 GB, free: 9.602 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002515/0.9985, allocations: 32 kB / 1.165 GB, free: 9.57 MB / 0.92 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.0001736/0.9986, allocations: 111.6 kB / 1.165 GB, free: 9.457 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.9989, allocations: 104 kB / 1.165 GB, free: 9.355 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.9989, allocations: 3.938 kB / 1.165 GB, free: 9.352 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.999, allocations: 55.86 kB / 1.165 GB, free: 9.297 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.9993, allocations: 15.98 kB / 1.165 GB, free: 9.281 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1, allocations: 0.542 MB / 1.166 GB, free: 8.711 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/1.001, allocations: 0.6972 MB / 1.167 GB, free: 7.988 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001293/1.001, allocations: 20.64 kB / 1.167 GB, free: 7.969 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/1.001, allocations: 15.44 kB / 1.167 GB, free: 7.953 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/1.001, allocations: 0 / 1.167 GB, free: 7.953 MB / 0.92 GB Notification: Performance of Templates: time 0.004095/1.005, allocations: 1.079 MB / 1.168 GB, free: 6.879 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches