Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_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.003902/0.003902, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001103/0.001103, allocations: 194.6 kB / 16.68 MB, free: 5.973 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.249/1.249, 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 12.0.0-master/package.mo): time 2.469/2.469, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 73.06 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2576, allocations: 162.3 MB / 1.242 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002827/0.2604, allocations: 2.033 MB / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.2626, allocations: 1.666 MB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.2627, allocations: 0 / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.2627, allocations: 19.8 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.2628, allocations: 47.55 kB / 1.246 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008847/0.2637, allocations: 362.8 kB / 1.246 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.264, allocations: 223 kB / 1.246 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2641, allocations: 45.45 kB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.2642, allocations: 83.84 kB / 1.246 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.2643, allocations: 91.66 kB / 1.246 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2644, allocations: 16 kB / 1.246 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007123/0.2651, allocations: 407.5 kB / 1.247 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.013e-05/0.2652, allocations: 39.91 kB / 1.247 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.2652, allocations: 87.64 kB / 1.247 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.2658, allocations: 446.8 kB / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2658, allocations: 0 / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2658, allocations: 4 kB / 1.247 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2658, allocations: 0 / 1.247 GB, free: 3.383 MB / 0.9669 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.0007437/0.2666, allocations: 0.514 MB / 1.248 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2666, allocations: 8.031 kB / 1.248 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.2667, allocations: 54.67 kB / 1.248 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.2672, allocations: 92.73 kB / 1.248 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2673, allocations: 184.1 kB / 1.248 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/0.2674, allocations: 46.27 kB / 1.248 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.2675, allocations: 16.38 kB / 1.248 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.2678, allocations: 189.7 kB / 1.248 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2679, allocations: 4 kB / 1.248 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.2679, allocations: 8 kB / 1.248 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2679, allocations: 0 / 1.248 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.2683, allocations: 180.5 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.2696, allocations: 0.9307 MB / 1.249 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.27, allocations: 162.6 kB / 1.25 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2702, allocations: 84.81 kB / 1.25 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/0.2708, allocations: 0.5142 MB / 1.25 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2709, allocations: 34.56 kB / 1.25 GB, free: 16 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.2709, allocations: 4 kB / 1.25 GB, free: 12 kB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0006604/0.2715, allocations: 237.8 kB / 1.25 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2716, allocations: 55.41 kB / 1.25 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2717, allocations: 152.5 kB / 1.251 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2718, allocations: 33.7 kB / 1.251 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.2718, allocations: 123.9 kB / 1.251 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.2719, allocations: 51.48 kB / 1.251 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.272, allocations: 41.66 kB / 1.251 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2721, allocations: 322.8 kB / 1.251 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2723, allocations: 75.95 kB / 1.251 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.2725, allocations: 89.67 kB / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.2729, allocations: 151.1 kB / 1.251 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2729, allocations: 0 / 1.251 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005352/0.2734, allocations: 227.6 kB / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2734, allocations: 4 kB / 1.252 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2735, allocations: 4.031 kB / 1.252 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2735, allocations: 7.938 kB / 1.252 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.2739, allocations: 35.97 kB / 1.252 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2739, allocations: 0 / 1.252 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.2742, allocations: 23.88 kB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.2742, allocations: 4 kB / 1.252 GB, free: 14.34 MB / 0.9825 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.0001599/0.2744, allocations: 134.2 kB / 1.252 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.2745, allocations: 19.91 kB / 1.252 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/0.2753, allocations: 190.4 kB / 1.252 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2753, allocations: 0 / 1.252 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2753, allocations: 0 / 1.252 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2753, allocations: 0 / 1.252 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.2775, allocations: 0.9972 MB / 1.253 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2776, allocations: 4 kB / 1.253 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.2779, allocations: 28.05 kB / 1.253 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.2779, allocations: 7.984 kB / 1.253 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.2779, allocations: 0 / 1.253 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.278, allocations: 4 kB / 1.253 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.278, allocations: 4 kB / 1.253 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.2788, allocations: 292 kB / 1.253 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.2789, allocations: 89.02 kB / 1.253 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.2789, allocations: 4 kB / 1.253 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.2793, allocations: 15.97 kB / 1.253 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.2793, allocations: 19.92 kB / 1.254 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.2794, allocations: 4 kB / 1.254 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001323/0.2795, allocations: 124.9 kB / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2795, allocations: 0 / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006591/0.2802, allocations: 131.5 kB / 1.254 GB, free: 12.09 MB / 0.9825 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.001051/0.2813, allocations: 0.9478 MB / 1.255 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.2817, allocations: 171.9 kB / 1.255 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2817, allocations: 0 / 1.255 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.2819, allocations: 83.89 kB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.2823, allocations: 48.03 kB / 1.255 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.2849, allocations: 2.075 MB / 1.257 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.2852, allocations: 0.7047 MB / 1.258 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.2853, allocations: 36.66 kB / 1.258 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.2854, allocations: 45.53 kB / 1.258 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.2854, allocations: 0 / 1.258 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.291/5.577, allocations: 6.067 MB / 1.264 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/22.42, allocations: 11.41 kB / 1.264 GB, free: 1.969 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches