Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_10_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.006558/0.006558, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001724/0.001724, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437.1 MB / 0.7106 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 71.88 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2387, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002986/0.2417, allocations: 2.028 MB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.2439, allocations: 1.659 MB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.244, allocations: 4 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.854e-05/0.244, allocations: 23.78 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.2441, allocations: 47.56 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.2449, allocations: 358.8 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.2452, allocations: 219.1 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2453, allocations: 57.45 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.28e-05/0.2454, allocations: 75.78 kB / 1.171 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.2456, allocations: 91.66 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.2456, allocations: 20 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007086/0.2463, allocations: 415.5 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.2464, allocations: 39.89 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.487e-05/0.2465, allocations: 87.66 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.247, allocations: 430.9 kB / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.247, allocations: 0 / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.248e-06/0.247, allocations: 4 kB / 1.172 GB, free: 1.695 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.247, allocations: 0 / 1.172 GB, free: 1.695 MB / 0.92 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.000749/0.2478, allocations: 0.5218 MB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.2478, allocations: 8.031 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.2479, allocations: 46.73 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/0.2484, allocations: 96.73 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2486, allocations: 176.2 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.2486, allocations: 46.25 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.2487, allocations: 16.38 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.2491, allocations: 190.9 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2491, allocations: 3.938 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.2491, allocations: 7.984 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2491, allocations: 8 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.2496, allocations: 179.9 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.2509, allocations: 0.9187 MB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.2514, allocations: 174.5 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2516, allocations: 76.83 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.2522, allocations: 0.522 MB / 1.174 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2522, allocations: 30.56 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.2523, allocations: 0 / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0006708/0.2529, allocations: 249.5 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.253, allocations: 51.41 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2531, allocations: 160.7 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2531, allocations: 29.7 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.2532, allocations: 119.9 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.2533, allocations: 51.55 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.2534, allocations: 45.66 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2535, allocations: 318.8 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2537, allocations: 75.97 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.2539, allocations: 97.66 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.2543, allocations: 147.8 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2543, allocations: 8 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004877/0.2548, allocations: 212.1 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.2548, allocations: 8 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.2548, allocations: 0 / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2549, allocations: 0 / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2551, allocations: 43.84 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2551, allocations: 4 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.2553, allocations: 31.89 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2553, allocations: 4 kB / 1.176 GB, free: 12.64 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.0001058/0.2554, allocations: 133.7 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.2555, allocations: 11.91 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.2559, allocations: 194.4 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.256, allocations: 4 kB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.256, allocations: 0 / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.256, allocations: 3.984 kB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.2574, allocations: 0.9779 MB / 1.177 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2574, allocations: 0 / 1.177 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.2576, allocations: 35.91 kB / 1.177 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2576, allocations: 0 / 1.177 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.2576, allocations: 7.938 kB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2576, allocations: 0 / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2576, allocations: 4.062 kB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.2581, allocations: 293 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.2582, allocations: 89.02 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.2582, allocations: 11.94 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.2584, allocations: 15.98 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.2585, allocations: 15.92 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2585, allocations: 7.984 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.614e-05/0.2586, allocations: 116.1 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2586, allocations: 0 / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003681/0.259, allocations: 131.5 kB / 1.178 GB, free: 10.4 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.001012/0.26, allocations: 0.944 MB / 1.179 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.2604, allocations: 179.8 kB / 1.179 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2605, allocations: 4.062 kB / 1.179 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.2607, allocations: 83.89 kB / 1.179 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.261, allocations: 39.92 kB / 1.179 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.2636, allocations: 2.078 MB / 1.181 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.2639, allocations: 0.7125 MB / 1.182 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.2641, allocations: 30.5 kB / 1.182 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.2642, allocations: 43.42 kB / 1.182 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2642, allocations: 0 / 1.182 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.766/2.031, allocations: 6.073 MB / 1.188 GB, free: 272 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/16.88, allocations: 6.578 kB / 1.188 GB, free: 268 kB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches