Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.645/2.645, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 8.781 kB / 0.9034 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2585, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001207/0.2597, allocations: 0.9899 MB / 1.06 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003314/0.2631, allocations: 3.198 MB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.2631, allocations: 4 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.2631, allocations: 0 / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.085e-05/0.2632, allocations: 7.922 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.2636, allocations: 99.55 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.2636, allocations: 31.86 kB / 1.064 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.2637, allocations: 7.984 kB / 1.064 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.2637, allocations: 23.86 kB / 1.064 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.2638, allocations: 15.98 kB / 1.064 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.2638, allocations: 3.984 kB / 1.064 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.264, allocations: 71.81 kB / 1.064 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.264, allocations: 11.94 kB / 1.064 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.2641, allocations: 49.61 kB / 1.064 GB, free: 480 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2642, allocations: 36.23 kB / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2642, allocations: 0 / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2642, allocations: 0 / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.2642, allocations: 0 / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003221/0.2645, allocations: 339.5 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2646, allocations: 15.97 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.2647, allocations: 4.938 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2648, allocations: 168.2 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2648, allocations: 8.375 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.2648, allocations: 4.375 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.265, allocations: 65.72 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.265, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.265, allocations: 4 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.265, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.2651, allocations: 11.98 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.2652, allocations: 169.6 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.2653, allocations: 66.48 kB / 1.065 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.2654, allocations: 20.84 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/0.266, allocations: 0.5868 MB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.266, allocations: 34.56 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 2.564e-06/0.266, allocations: 0 / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005366/0.2666, allocations: 306.5 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.2666, allocations: 55.41 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.2667, allocations: 101.8 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2667, allocations: 25.7 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.2668, allocations: 84.05 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.2668, allocations: 27.64 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.2668, allocations: 17.72 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2669, allocations: 326.8 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.267, allocations: 11.94 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.267, allocations: 53.14 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/0.2671, allocations: 77.08 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2671, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001382/0.2673, allocations: 101.4 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2673, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2673, allocations: 4 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.2673, allocations: 0 / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.2674, allocations: 19.94 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2674, allocations: 8.125 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.2674, allocations: 3.938 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2674, allocations: 4 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.301e-05/0.2675, allocations: 117.8 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.2676, allocations: 4.281 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.2676, allocations: 7.969 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2676, allocations: 3.984 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2676, allocations: 0 / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2676, allocations: 7.938 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.2679, allocations: 177.7 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2679, allocations: 0 / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.424e-05/0.268, allocations: 19.92 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.268, allocations: 0 / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.268, allocations: 3.938 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.268, allocations: 0 / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.268, allocations: 4 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.2682, allocations: 175.4 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.2682, allocations: 85.55 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.2682, allocations: 4 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2683, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.2684, allocations: 11.98 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.2684, allocations: 3.938 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.2684, allocations: 87.22 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2684, allocations: 0 / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002353/0.2687, allocations: 12 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0001157/0.2688, allocations: 107.2 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.2689, allocations: 39.92 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2689, allocations: 0 / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.2689, allocations: 16 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.2692, allocations: 5.562 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.2698, allocations: 412.6 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.27, allocations: 0.6887 MB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.27, allocations: 15.44 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.27, allocations: 3.938 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.0019/0.2719, allocations: 0.7656 MB / 1.069 GB, free: 10.41 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches