Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_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.001202/0.001202, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.544/2.544, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 73.31 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2392, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003006/0.2423, allocations: 2.035 MB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2444, allocations: 1.66 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.2445, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.715e-05/0.2446, allocations: 27.78 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.2447, allocations: 47.55 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.2454, allocations: 350.8 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.2456, allocations: 219.1 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2458, allocations: 49.47 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.2459, allocations: 83.77 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.246, allocations: 87.61 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.2461, allocations: 23.94 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006831/0.2467, allocations: 399.6 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.2468, allocations: 43.91 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.2469, allocations: 87.64 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005181/0.2474, allocations: 427.2 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2474, allocations: 0 / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2474, allocations: 0 / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2474, allocations: 0 / 1.069 GB, free: 8.684 MB / 0.8262 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.0007325/0.2482, allocations: 0.5186 MB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2482, allocations: 12.03 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.2483, allocations: 50.73 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005318/0.2488, allocations: 88.73 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2489, allocations: 180.1 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.249, allocations: 50.25 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.2491, allocations: 12.38 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.2494, allocations: 182.6 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2495, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.2495, allocations: 8 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2495, allocations: 11.98 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.2499, allocations: 179.8 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.2512, allocations: 0.9112 MB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.2517, allocations: 170.5 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.2519, allocations: 76.83 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/0.2525, allocations: 0.5181 MB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2526, allocations: 38.5 kB / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.2526, allocations: 0 / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006576/0.2532, allocations: 243.7 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.2533, allocations: 51.41 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2534, allocations: 165.1 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2534, allocations: 29.7 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.2535, allocations: 115.8 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.2536, allocations: 43.36 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.2536, allocations: 45.64 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2538, allocations: 322.8 kB / 1.073 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.254, allocations: 71.95 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.2542, allocations: 100.1 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.2546, allocations: 159 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2546, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004818/0.2551, allocations: 213.4 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2551, allocations: 5.562 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2551, allocations: 0 / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.2551, allocations: 0 / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.2553, allocations: 43.94 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2554, allocations: 4 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.2555, allocations: 27.77 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.2556, allocations: 7.984 kB / 1.074 GB, free: 3.656 MB / 0.8262 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.0001053/0.2557, allocations: 125.8 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.2557, allocations: 11.81 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.2562, allocations: 202.9 kB / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2562, allocations: 4 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2562, allocations: 0 / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2562, allocations: 0 / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.2576, allocations: 0.9817 MB / 1.075 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2576, allocations: 0 / 1.075 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.2578, allocations: 31.97 kB / 1.075 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2578, allocations: 4.062 kB / 1.075 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2578, allocations: 11.94 kB / 1.075 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2578, allocations: 0 / 1.075 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2579, allocations: 0 / 1.075 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.2583, allocations: 283 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.2584, allocations: 96.94 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.2584, allocations: 4 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.2586, allocations: 15.98 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.2587, allocations: 15.91 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.2587, allocations: 4 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.756e-05/0.2588, allocations: 125.6 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2588, allocations: 4 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003706/0.2592, allocations: 131.8 kB / 1.076 GB, free: 1.418 MB / 0.8262 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.001015/0.2602, allocations: 0.9408 MB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.2607, allocations: 185.7 kB / 1.077 GB, free: 272 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2607, allocations: 0 / 1.077 GB, free: 272 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.2609, allocations: 87.94 kB / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2612, allocations: 48.05 kB / 1.077 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.2638, allocations: 2.058 MB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.2641, allocations: 0.7086 MB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.2643, allocations: 30.92 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.2644, allocations: 43.42 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.2644, allocations: 0 / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9382/1.203, allocations: 5.986 MB / 1.086 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.86, allocations: 6.812 kB / 1.086 GB, free: 7.34 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches