Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.1.0-maint.11.x/package.mo", uses=false) 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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006653/0.006653, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001688/0.001688, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.53/2.53, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 72.09 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2464, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002873/0.2493, allocations: 2.032 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.2515, allocations: 1.666 MB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.2516, allocations: 4 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.657e-05/0.2516, allocations: 15.8 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2518, allocations: 51.55 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/0.2527, allocations: 354.8 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.2529, allocations: 223.1 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.253, allocations: 49.48 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.2531, allocations: 75.78 kB / 1.225 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2533, allocations: 87.72 kB / 1.225 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.2533, allocations: 20 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007241/0.254, allocations: 411.5 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.2541, allocations: 47.83 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.2542, allocations: 83.66 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.2548, allocations: 426.7 kB / 1.226 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.2548, allocations: 4 kB / 1.226 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2548, allocations: 4 kB / 1.226 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2548, allocations: 3.938 kB / 1.226 GB, free: 8.754 MB / 0.9825 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.0007438/0.2555, allocations: 0.5275 MB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.2556, allocations: 8.031 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.2556, allocations: 54.67 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005182/0.2562, allocations: 92.75 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2563, allocations: 184.2 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/0.2564, allocations: 58.23 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.2564, allocations: 12.38 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.2568, allocations: 186.6 kB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2568, allocations: 0 / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.2568, allocations: 4 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2568, allocations: 4 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.2573, allocations: 179.9 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.2585, allocations: 0.9229 MB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.259, allocations: 174.3 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.2592, allocations: 72.83 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.2598, allocations: 0.522 MB / 1.228 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2599, allocations: 38.56 kB / 1.228 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.2599, allocations: 3.938 kB / 1.228 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0006451/0.2605, allocations: 233.8 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.2606, allocations: 51.41 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2607, allocations: 168.4 kB / 1.229 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.2607, allocations: 29.7 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.2608, allocations: 119.9 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.2609, allocations: 51.53 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.2609, allocations: 37.7 kB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2611, allocations: 322.8 kB / 1.229 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.2613, allocations: 71.95 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.2615, allocations: 97.67 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.2619, allocations: 154.9 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2619, allocations: 0 / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004789/0.2624, allocations: 223.3 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2624, allocations: 4 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2624, allocations: 0 / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.2624, allocations: 0 / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.2626, allocations: 35.97 kB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2626, allocations: 4 kB / 1.23 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.2628, allocations: 23.81 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.2628, allocations: 8 kB / 1.23 GB, free: 3.699 MB / 0.9825 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.0001083/0.2629, allocations: 138.2 kB / 1.23 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.263, allocations: 11.91 kB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.2635, allocations: 190.4 kB / 1.23 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2635, allocations: 4 kB / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2635, allocations: 0 / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2635, allocations: 7.984 kB / 1.23 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.2648, allocations: 0.9894 MB / 1.231 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2649, allocations: 0 / 1.231 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.265, allocations: 35.97 kB / 1.231 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2651, allocations: 0 / 1.231 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.2651, allocations: 8 kB / 1.231 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2651, allocations: 0 / 1.231 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2651, allocations: 0 / 1.231 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.2656, allocations: 285.1 kB / 1.232 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.2656, allocations: 97 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.2657, allocations: 7.984 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.2659, allocations: 15.98 kB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2659, allocations: 11.92 kB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2659, allocations: 8 kB / 1.232 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.081e-05/0.266, allocations: 121.3 kB / 1.232 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.266, allocations: 0 / 1.232 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003707/0.2664, allocations: 127.6 kB / 1.232 GB, free: 1.449 MB / 0.9825 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.001009/0.2674, allocations: 0.9592 MB / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.2679, allocations: 179.8 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2679, allocations: 0 / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.2681, allocations: 79.91 kB / 1.233 GB, free: 212 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.2684, allocations: 55.41 kB / 1.233 GB, free: 160 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.271, allocations: 2.081 MB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.2713, allocations: 0.7047 MB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.2715, allocations: 28.8 kB / 1.236 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.058e-05/0.2716, allocations: 47.41 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.2716, allocations: 0 / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.467/2.738, allocations: 6.063 MB / 1.242 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.24/21.98, allocations: 17.84 kB / 1.242 GB, free: 7.289 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches