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.007879/0.007879, allocations: 99.92 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.001936/0.001936, allocations: 195.9 kB / 16.68 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.552/2.552, allocations: 461.9 MB / 0.7348 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 1.054 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7116, allocations: 157.4 MB / 1.207 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003124/0.7148, allocations: 2.04 MB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002326/0.7171, allocations: 1.659 MB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.7172, allocations: 4 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.908e-05/0.7174, allocations: 19.78 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.7175, allocations: 55.48 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.7185, allocations: 354.8 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.7188, allocations: 215.2 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.7189, allocations: 53.47 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.719, allocations: 75.78 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.7192, allocations: 91.66 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.7192, allocations: 20 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000809/0.72, allocations: 415.5 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.7201, allocations: 39.91 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.346e-05/0.7202, allocations: 87.59 kB / 1.212 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.7207, allocations: 429.3 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7208, allocations: 0 / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7208, allocations: 4 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7208, allocations: 0 / 1.213 GB, free: 7.953 MB / 0.9356 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.0008009/0.7216, allocations: 0.5108 MB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7216, allocations: 11.97 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.415e-05/0.7217, allocations: 50.73 kB / 1.213 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.7222, allocations: 92.64 kB / 1.213 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.7224, allocations: 176.2 kB / 1.213 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/0.7224, allocations: 46.25 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.7225, allocations: 20.38 kB / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.7229, allocations: 193.7 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.7229, allocations: 0 / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.7229, allocations: 4 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7229, allocations: 4 kB / 1.214 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.7233, allocations: 179.9 kB / 1.214 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.7246, allocations: 0.9111 MB / 1.215 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.725, allocations: 170.5 kB / 1.215 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.7252, allocations: 88.81 kB / 1.215 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005891/0.7258, allocations: 0.5142 MB / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7259, allocations: 38.55 kB / 1.216 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.7259, allocations: 4 kB / 1.216 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0006556/0.7265, allocations: 241.5 kB / 1.216 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.7266, allocations: 55.41 kB / 1.216 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.7267, allocations: 152.7 kB / 1.216 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.7268, allocations: 29.7 kB / 1.216 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.7268, allocations: 127.8 kB / 1.216 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.7269, allocations: 43.3 kB / 1.216 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.727, allocations: 41.7 kB / 1.216 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.727, allocations: 318.8 kB / 1.217 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.7272, allocations: 79.95 kB / 1.217 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.7274, allocations: 95.16 kB / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.7278, allocations: 152 kB / 1.217 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7278, allocations: 0 / 1.217 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000452/0.7283, allocations: 217.4 kB / 1.217 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.7283, allocations: 9.891 kB / 1.217 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7283, allocations: 4 kB / 1.217 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.7283, allocations: 0 / 1.217 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.7286, allocations: 39.92 kB / 1.217 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.7286, allocations: 3.984 kB / 1.217 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.7288, allocations: 23.83 kB / 1.217 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.7288, allocations: 4 kB / 1.217 GB, free: 2.926 MB / 0.9356 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.0001024/0.7289, allocations: 133.7 kB / 1.217 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.7289, allocations: 19.81 kB / 1.217 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.7294, allocations: 193.7 kB / 1.217 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7294, allocations: 0 / 1.217 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7294, allocations: 0 / 1.217 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.7294, allocations: 0 / 1.217 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.7307, allocations: 0.9933 MB / 1.218 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.7308, allocations: 4.062 kB / 1.218 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.731, allocations: 31.92 kB / 1.218 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.731, allocations: 0 / 1.218 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.731, allocations: 4 kB / 1.218 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.731, allocations: 3.984 kB / 1.218 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.731, allocations: 0 / 1.218 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.7315, allocations: 293 kB / 1.219 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.7315, allocations: 88.92 kB / 1.219 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.7315, allocations: 4 kB / 1.219 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.7318, allocations: 11.98 kB / 1.219 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.7318, allocations: 15.92 kB / 1.219 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.7318, allocations: 7.984 kB / 1.219 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.34e-05/0.7319, allocations: 125.5 kB / 1.219 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7319, allocations: 0 / 1.219 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004356/0.7324, allocations: 127.9 kB / 1.219 GB, free: 0.6719 MB / 0.9356 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.0009962/0.7334, allocations: 0.948 MB / 1.22 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.7338, allocations: 167.9 kB / 1.22 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7338, allocations: 4 kB / 1.22 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.734, allocations: 83.89 kB / 1.22 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.7344, allocations: 50.33 kB / 1.22 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.7369, allocations: 2.072 MB / 1.222 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.7372, allocations: 0.7047 MB / 1.223 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.7373, allocations: 32.78 kB / 1.223 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.7374, allocations: 43.42 kB / 1.223 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.7374, allocations: 0 / 1.223 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.7596, allocations: 6.037 MB / 1.229 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/8.353, allocations: 14.86 kB / 1.229 GB, free: 6.574 MB / 0.9512 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