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.001491/0.001491, 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.001817/0.001817, allocations: 194.1 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.415/2.415, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.11 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2283, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00296/0.2313, allocations: 2.031 MB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2334, allocations: 1.671 MB / 1.057 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.2335, allocations: 4 kB / 1.057 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.2335, allocations: 15.8 kB / 1.057 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.872e-05/0.2336, allocations: 55.55 kB / 1.057 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.2345, allocations: 354.8 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.2347, allocations: 215.2 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2348, allocations: 53.45 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.2349, allocations: 83.72 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.2351, allocations: 87.72 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.2351, allocations: 16 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006921/0.2358, allocations: 399.5 kB / 1.058 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.2359, allocations: 39.84 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.236, allocations: 91.64 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.2365, allocations: 431.2 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2365, allocations: 0 / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2365, allocations: 3.938 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2365, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 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.0007145/0.2372, allocations: 0.507 MB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2373, allocations: 8.625 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.2373, allocations: 54.73 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005352/0.2379, allocations: 88.64 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.238, allocations: 180.1 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.2381, allocations: 50.25 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.2381, allocations: 20.38 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.2385, allocations: 190.2 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2385, allocations: 0 / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.2385, allocations: 7.938 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2385, allocations: 4 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.2389, allocations: 183.9 kB / 1.06 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2401, allocations: 0.9111 MB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.2406, allocations: 170.5 kB / 1.061 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.2408, allocations: 80.81 kB / 1.061 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.2414, allocations: 0.522 MB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2414, allocations: 30.56 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.2414, allocations: 0 / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006462/0.2421, allocations: 245.7 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.2421, allocations: 55.34 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2422, allocations: 161.1 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2423, allocations: 29.69 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.2423, allocations: 115.8 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.2424, allocations: 47.3 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.2424, allocations: 37.7 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.2425, allocations: 322.8 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.2427, allocations: 79.95 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.2429, allocations: 90.88 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.2433, allocations: 151.3 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2433, allocations: 4 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004608/0.2438, allocations: 218.4 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2438, allocations: 4 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2438, allocations: 4 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2438, allocations: 0 / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2441, allocations: 43.91 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2441, allocations: 3.938 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2442, allocations: 27.8 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2443, allocations: 8 kB / 1.063 GB, free: 13.71 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 9.222e-05/0.2444, allocations: 125.8 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2444, allocations: 11.91 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.2449, allocations: 205.4 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2449, allocations: 0 / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2449, allocations: 8 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2449, allocations: 0 / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.2462, allocations: 0.9818 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2462, allocations: 0 / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2464, allocations: 27.92 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2464, allocations: 4 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2465, allocations: 3.984 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2465, allocations: 4.062 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2465, allocations: 4 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.2469, allocations: 285 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.247, allocations: 88.95 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.247, allocations: 12 kB / 1.064 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.2472, allocations: 11.97 kB / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.2473, allocations: 23.86 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2473, allocations: 4 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.43e-05/0.2474, allocations: 115.2 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2474, allocations: 0 / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003736/0.2478, allocations: 131.8 kB / 1.065 GB, free: 11.48 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.0009478/0.2487, allocations: 0.9442 MB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004558/0.2492, allocations: 179.8 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2492, allocations: 4.062 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.2494, allocations: 83.89 kB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.2497, allocations: 53.39 kB / 1.066 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.2522, allocations: 2.056 MB / 1.068 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.2524, allocations: 0.7047 MB / 1.069 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.2525, allocations: 31.67 kB / 1.069 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/0.2526, allocations: 39.42 kB / 1.069 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2526, allocations: 0 / 1.069 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9251/1.178, allocations: 5.993 MB / 1.075 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.812/10.99, allocations: 7.922 kB / 1.075 GB, free: 1.406 MB / 0.8262 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