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.001683/0.001683, allocations: 108 kB / 15.6 MB, free: 132 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.001811/0.001811, allocations: 196.9 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.529/2.529, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 67.67 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2411, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002977/0.2441, allocations: 2.029 MB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.2463, allocations: 1.666 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.2464, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.802e-05/0.2464, allocations: 23.78 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.156e-05/0.2465, allocations: 47.55 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007744/0.2473, allocations: 354.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.2475, allocations: 215.2 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2477, allocations: 53.45 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.2478, allocations: 87.7 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.2479, allocations: 79.73 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.248, allocations: 24 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006767/0.2486, allocations: 399.5 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.2487, allocations: 47.84 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/0.2488, allocations: 83.66 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.2493, allocations: 423.2 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2493, allocations: 0 / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2493, allocations: 0 / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2493, allocations: 0 / 1.069 GB, free: 8.66 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.0007418/0.2501, allocations: 0.5186 MB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2501, allocations: 12.03 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.2502, allocations: 50.73 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005373/0.2507, allocations: 92.73 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2508, allocations: 180.1 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.2509, allocations: 50.25 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.2509, allocations: 12.38 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.2513, allocations: 186.6 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2513, allocations: 3.938 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.2514, allocations: 11.98 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2514, allocations: 4 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.2518, allocations: 179.8 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.2531, allocations: 0.9073 MB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.2536, allocations: 170.5 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.2538, allocations: 80.83 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006342/0.2544, allocations: 0.5142 MB / 1.072 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2545, allocations: 38.56 kB / 1.072 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.2545, allocations: 4 kB / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006619/0.2551, allocations: 235 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2552, allocations: 55.34 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2553, allocations: 162.4 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.2553, allocations: 25.7 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.2554, allocations: 127.8 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.2555, allocations: 47.34 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.2555, allocations: 37.7 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2557, allocations: 326.8 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.2559, allocations: 67.97 kB / 1.073 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.2561, allocations: 103.4 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.2565, allocations: 151.6 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2565, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004848/0.257, allocations: 213.4 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.257, allocations: 8.031 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.257, allocations: 0 / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.257, allocations: 0 / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.2573, allocations: 39.91 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2573, allocations: 4 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.2574, allocations: 31.75 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.2575, allocations: 4 kB / 1.074 GB, free: 3.629 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.0001051/0.2576, allocations: 129.8 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.2576, allocations: 15.8 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.2581, allocations: 200.1 kB / 1.074 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2581, allocations: 4 kB / 1.074 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2581, allocations: 0 / 1.074 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2582, allocations: 4 kB / 1.074 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.2595, allocations: 0.9778 MB / 1.075 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2596, allocations: 4 kB / 1.075 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.2597, allocations: 35.91 kB / 1.075 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2598, allocations: 0 / 1.075 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2598, allocations: 8 kB / 1.075 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2598, allocations: 0 / 1.075 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2598, allocations: 0 / 1.075 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.2603, allocations: 285.1 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.2603, allocations: 96.89 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.2604, allocations: 4 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.2606, allocations: 15.98 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.2606, allocations: 15.86 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.2606, allocations: 11.98 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.601e-05/0.2607, allocations: 118.1 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2607, allocations: 0 / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003709/0.2611, allocations: 135.8 kB / 1.076 GB, free: 1.383 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.001021/0.2621, allocations: 0.9421 MB / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.2626, allocations: 179.8 kB / 1.077 GB, free: 240 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2626, allocations: 0 / 1.077 GB, free: 240 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.2628, allocations: 83.89 kB / 1.077 GB, free: 156 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.2632, allocations: 48.09 kB / 1.077 GB, free: 108 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.2659, allocations: 2.075 MB / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2662, allocations: 0.7124 MB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000145/0.2663, allocations: 30.59 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.2664, allocations: 43.42 kB / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.2664, allocations: 0 / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.641/1.908, allocations: 6.017 MB / 1.086 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/14.25, allocations: 2.938 kB / 1.086 GB, free: 7.281 MB / 0.8419 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