Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_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.005077/0.005077, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.001251/0.001251, allocations: 194.9 kB / 16.67 MB, free: 5.961 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.81 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3025, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003353/0.3059, allocations: 2.032 MB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.3084, allocations: 1.656 MB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3085, allocations: 4 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.968e-05/0.3086, allocations: 19.78 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.3088, allocations: 55.55 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.3099, allocations: 350.8 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.3102, allocations: 215.2 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3104, allocations: 57.45 kB / 1.212 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3105, allocations: 83.7 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3107, allocations: 83.73 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.3108, allocations: 20 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.3117, allocations: 407.6 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.3118, allocations: 51.78 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.948e-05/0.3119, allocations: 83.66 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.3126, allocations: 427.2 kB / 1.213 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3126, allocations: 3.984 kB / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3127, allocations: 0 / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.3127, allocations: 4 kB / 1.213 GB, free: 4.59 MB / 0.9669 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.0009174/0.3136, allocations: 0.5147 MB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3137, allocations: 8.625 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.3137, allocations: 50.73 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006063/0.3143, allocations: 92.64 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3145, allocations: 184.2 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.3146, allocations: 46.27 kB / 1.214 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3146, allocations: 12.38 kB / 1.214 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.3151, allocations: 198.1 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3151, allocations: 0 / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3151, allocations: 4 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3151, allocations: 4 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.3156, allocations: 187.9 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.3169, allocations: 0.9109 MB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.3175, allocations: 174.5 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.3177, allocations: 76.81 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000706/0.3184, allocations: 0.5259 MB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3184, allocations: 34.56 kB / 1.216 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 7.545e-06/0.3185, allocations: 0 / 1.216 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0007175/0.3192, allocations: 247.4 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.3192, allocations: 59.34 kB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3194, allocations: 162.4 kB / 1.216 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.3194, allocations: 25.7 kB / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.3195, allocations: 119.8 kB / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.3195, allocations: 43.36 kB / 1.216 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.3196, allocations: 37.61 kB / 1.216 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.3197, allocations: 326.8 kB / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.3199, allocations: 75.95 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3202, allocations: 95.56 kB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.3205, allocations: 147 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3206, allocations: 0 / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000495/0.3211, allocations: 217.4 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3211, allocations: 8 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3211, allocations: 0 / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3211, allocations: 0 / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.3214, allocations: 39.91 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3214, allocations: 7.984 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3216, allocations: 27.8 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3216, allocations: 8 kB / 1.217 GB, free: 15.54 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.0001094/0.3217, allocations: 125.8 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.3218, allocations: 11.81 kB / 1.217 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.3223, allocations: 202.4 kB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3223, allocations: 4 kB / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3223, allocations: 0 / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3223, allocations: 0 / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.3238, allocations: 0.9855 MB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3238, allocations: 0 / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.324, allocations: 31.92 kB / 1.218 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.324, allocations: 0 / 1.218 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.3241, allocations: 11.98 kB / 1.218 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3241, allocations: 0 / 1.218 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3241, allocations: 4 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.3246, allocations: 283.4 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.3246, allocations: 96.86 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3247, allocations: 4 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.3249, allocations: 27.91 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3249, allocations: 11.92 kB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.325, allocations: 4 kB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.3251, allocations: 121.9 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3251, allocations: 0 / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004545/0.3255, allocations: 127.9 kB / 1.219 GB, free: 13.3 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.001096/0.3266, allocations: 0.9481 MB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004995/0.3271, allocations: 173.9 kB / 1.22 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3272, allocations: 0 / 1.22 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.3274, allocations: 87.95 kB / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3278, allocations: 35.92 kB / 1.22 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.3306, allocations: 2.068 MB / 1.222 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3309, allocations: 0.7047 MB / 1.223 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.331, allocations: 31.3 kB / 1.223 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.3311, allocations: 43.42 kB / 1.223 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3312, allocations: 0 / 1.223 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3564, allocations: 6.121 MB / 1.229 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.225, allocations: 8.797 kB / 1.229 GB, free: 3.129 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches