Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 116.7 kB / 16.37 MB, free: 6 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.001097/0.001097, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.38 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2486, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003056/0.2517, allocations: 2.031 MB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.2539, allocations: 1.667 MB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.254, allocations: 4 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.927e-05/0.2541, allocations: 15.8 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.2543, allocations: 47.55 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.2554, allocations: 354.8 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.2557, allocations: 227.1 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.2559, allocations: 49.39 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.256, allocations: 83.72 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.2561, allocations: 91.66 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.2562, allocations: 20 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.257, allocations: 415.5 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.257, allocations: 35.91 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.631e-05/0.2571, allocations: 87.66 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005887/0.2577, allocations: 426.9 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2577, allocations: 4 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2577, allocations: 0 / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2578, allocations: 3.938 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008568/0.2586, allocations: 0.5031 MB / 1.025 GB, free: 3.703 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2587, allocations: 12.92 kB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005618/0.2592, allocations: 92.64 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2594, allocations: 184.1 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.2595, allocations: 50.25 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.2595, allocations: 20.38 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.2599, allocations: 179.3 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2599, allocations: 7.875 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.2599, allocations: 8 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2599, allocations: 0 / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.2604, allocations: 183.8 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.2616, allocations: 0.9112 MB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.2621, allocations: 174.5 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.2623, allocations: 82.83 kB / 1.027 GB, free: 1.637 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.263, allocations: 0.5181 MB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.263, allocations: 34.56 kB / 1.027 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.263, allocations: 4 kB / 1.027 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0006647/0.2637, allocations: 233.8 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2637, allocations: 59.34 kB / 1.027 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2639, allocations: 161.2 kB / 1.027 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.2639, allocations: 33.7 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.264, allocations: 119.8 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.264, allocations: 43.36 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.2641, allocations: 37.7 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2642, allocations: 322.8 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.2644, allocations: 75.95 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.2646, allocations: 95.2 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.265, allocations: 147.7 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.265, allocations: 3.938 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004759/0.2655, allocations: 213.4 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2655, allocations: 4 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2655, allocations: 4.031 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2655, allocations: 7.938 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.2658, allocations: 39.91 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2658, allocations: 0 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.266, allocations: 27.77 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.266, allocations: 7.984 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001014/0.2661, allocations: 130.4 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.2662, allocations: 15.91 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.2667, allocations: 195.6 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2667, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2667, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2667, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.2681, allocations: 0.9856 MB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2681, allocations: 8.062 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.2683, allocations: 31.91 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2683, allocations: 4 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.2683, allocations: 4 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2683, allocations: 0 / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2684, allocations: 4 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.2688, allocations: 291.2 kB / 1.03 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.2689, allocations: 92.94 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.2689, allocations: 4 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.2691, allocations: 11.98 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.2692, allocations: 27.8 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2692, allocations: 4 kB / 1.03 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.2693, allocations: 121.9 kB / 1.03 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2693, allocations: 0 / 1.03 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004571/0.2698, allocations: 127.9 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0004232/0.2702, allocations: 223.1 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.2707, allocations: 177.7 kB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2707, allocations: 0 / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.2709, allocations: 84.09 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.2713, allocations: 49.2 kB / 1.031 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.2719, allocations: 332.6 kB / 1.031 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.2722, allocations: 0.7086 MB / 1.032 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.2723, allocations: 39.41 kB / 1.032 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.2724, allocations: 19.44 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2724, allocations: 0 / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.007571/0.28, allocations: 4.249 MB / 1.036 GB, free: 7.176 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches