Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.007669/0.007669, allocations: 102.8 kB / 15.73 MB, free: 6.055 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.00191/0.00191, allocations: 194.4 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8098, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002985/0.8129, allocations: 2.02 MB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.8153, allocations: 1.664 MB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.8154, allocations: 2.281 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.054e-05/0.8155, allocations: 20.52 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.8157, allocations: 48.14 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.8169, allocations: 359.7 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.8171, allocations: 217.6 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.8173, allocations: 57.88 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.8175, allocations: 77.5 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.8177, allocations: 95.86 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.8177, allocations: 18.28 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008717/0.8186, allocations: 410.9 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.8186, allocations: 45.64 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.8187, allocations: 82.02 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006624/0.8194, allocations: 427.2 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8194, allocations: 4.969 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8194, allocations: 0 / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.8194, allocations: 0 / 1.093 GB, free: 1.914 MB / 0.8575 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.0007719/0.8202, allocations: 0.5189 MB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.8203, allocations: 9.578 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.8203, allocations: 56 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.8209, allocations: 89.86 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.821, allocations: 181.6 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.8211, allocations: 49.83 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.8211, allocations: 14.25 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.8216, allocations: 184.5 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.8216, allocations: 0 / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.8216, allocations: 5.781 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.8216, allocations: 3.406 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.8221, allocations: 184 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.8234, allocations: 0.921 MB / 1.095 GB, free: 160 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.824, allocations: 167.8 kB / 1.095 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.8242, allocations: 78.86 kB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006989/0.8249, allocations: 0.5154 MB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.8249, allocations: 37.27 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.8249, allocations: 3.938 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007699/0.8257, allocations: 241.9 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.8258, allocations: 54.2 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.8259, allocations: 158 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.826, allocations: 26.83 kB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.826, allocations: 119.4 kB / 1.096 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.8261, allocations: 53.47 kB / 1.096 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.8262, allocations: 39.22 kB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8263, allocations: 329.9 kB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.8266, allocations: 70.77 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.8268, allocations: 95.47 kB / 1.097 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.8272, allocations: 160 kB / 1.097 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8272, allocations: 0 / 1.097 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005312/0.8278, allocations: 213.8 kB / 1.097 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8278, allocations: 5.438 kB / 1.097 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8278, allocations: 0 / 1.097 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8278, allocations: 6.281 kB / 1.097 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.8281, allocations: 35.72 kB / 1.097 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.8281, allocations: 1.281 kB / 1.097 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.8283, allocations: 20.95 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.8283, allocations: 9.609 kB / 1.097 GB, free: 14.36 MB / 0.8731 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.0001191/0.8285, allocations: 128.6 kB / 1.097 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.8285, allocations: 15.06 kB / 1.097 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.8291, allocations: 198 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.8291, allocations: 0.9062 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8291, allocations: 4.969 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8291, allocations: 1.219 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.8306, allocations: 0.9865 MB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8306, allocations: 1 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.8308, allocations: 37.61 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.8308, allocations: 1.344 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.8308, allocations: 6.609 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.8308, allocations: 1.125 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8309, allocations: 1.469 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.8314, allocations: 290.6 kB / 1.099 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.8315, allocations: 89.94 kB / 1.099 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.8315, allocations: 6.781 kB / 1.099 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.8317, allocations: 17.22 kB / 1.099 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.8318, allocations: 13.47 kB / 1.099 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.8318, allocations: 4.531 kB / 1.099 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000111/0.8319, allocations: 123.3 kB / 1.099 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8319, allocations: 0 / 1.099 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005306/0.8324, allocations: 135 kB / 1.099 GB, free: 12.75 MB / 0.8731 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.001216/0.8337, allocations: 0.9374 MB / 1.1 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.8342, allocations: 186 kB / 1.1 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.8342, allocations: 0 / 1.1 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.8344, allocations: 86.91 kB / 1.101 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.8348, allocations: 50.36 kB / 1.101 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.8379, allocations: 2.056 MB / 1.103 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.8382, allocations: 0.7116 MB / 1.103 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.8384, allocations: 27.3 kB / 1.103 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.8385, allocations: 43 kB / 1.103 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.8385, allocations: 3.938 kB / 1.103 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.8657, allocations: 6.102 MB / 1.109 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.652, allocations: 6.031 kB / 1.109 GB, free: 8.879 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches