Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001585, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001583/0.001583, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9283/0.9298, allocations: 140.4 MB / 1.089 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.00392/0.9338, allocations: 2.038 MB / 1.091 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.9362, allocations: 1.665 MB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.168e-05/0.9363, allocations: 6.125 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.054e-05/0.9364, allocations: 24.22 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.9365, allocations: 49.25 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.9376, allocations: 350.4 kB / 1.093 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.9379, allocations: 232.7 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.9381, allocations: 58.45 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.9382, allocations: 82.53 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.9384, allocations: 94.61 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.013e-05/0.9384, allocations: 19.28 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009093/0.9393, allocations: 420.1 kB / 1.094 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.9394, allocations: 38.67 kB / 1.094 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.81e-05/0.9395, allocations: 94.44 kB / 1.094 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006938/0.9402, allocations: 437.2 kB / 1.094 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9402, allocations: 0 / 1.094 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.572e-06/0.9402, allocations: 0.9688 kB / 1.094 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9402, allocations: 0 / 1.094 GB, free: 2.391 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008395/0.9411, allocations: 0.526 MB / 1.095 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.9411, allocations: 9.531 kB / 1.095 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.9422, allocations: 133.1 kB / 1.095 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.9424, allocations: 186.2 kB / 1.095 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-05/0.9425, allocations: 54.25 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.9425, allocations: 14.91 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.9431, allocations: 217.6 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.9431, allocations: 3.938 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.9432, allocations: 9.656 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.9432, allocations: 4.344 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007769/0.944, allocations: 236.3 kB / 1.095 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.9454, allocations: 0.9522 MB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.9459, allocations: 193 kB / 1.097 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.9463, allocations: 108.7 kB / 1.097 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/0.9469, allocations: 0.5246 MB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.947, allocations: 44.69 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.947, allocations: 0 / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.001251/0.9482, allocations: 325.3 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.9483, allocations: 58.08 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.9485, allocations: 161.7 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.9485, allocations: 31.17 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.643e-05/0.9486, allocations: 119.8 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.9487, allocations: 54.55 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.9488, allocations: 40.25 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9489, allocations: 325.6 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.9493, allocations: 104.2 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.9497, allocations: 122.4 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.9504, allocations: 198.3 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9504, allocations: 1.125 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008637/0.9513, allocations: 269.1 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9513, allocations: 5.344 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.9513, allocations: 1.453 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.9513, allocations: 1.125 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.9517, allocations: 61.89 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.9517, allocations: 2 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.952, allocations: 32.7 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.9521, allocations: 5.625 kB / 1.099 GB, free: 14.73 MB / 0.8731 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 (22): * Single equations (assignments): 22 * 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.0001441/0.9522, allocations: 125.4 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.9523, allocations: 16.38 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/0.9532, allocations: 264.5 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.9532, allocations: 9.75 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9532, allocations: 5.344 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9532, allocations: 0.6562 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.9552, allocations: 1.066 MB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.9552, allocations: 5.156 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.9555, allocations: 43.16 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.9555, allocations: 2.219 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.9556, allocations: 2.375 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.9556, allocations: 6.219 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.9556, allocations: 1.719 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.9564, allocations: 350.8 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.9565, allocations: 99.2 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.9566, allocations: 10.47 kB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.9569, allocations: 28.05 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.9569, allocations: 14.89 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.957, allocations: 5.469 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001133/0.9571, allocations: 122.8 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9571, allocations: 0 / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006672/0.9578, allocations: 127.5 kB / 1.101 GB, free: 13.06 MB / 0.8731 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 (16): * Single equations (assignments): 16 * 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.0006115/0.9584, allocations: 225.9 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009171/0.9593, allocations: 231.2 kB / 1.102 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9593, allocations: 1.062 kB / 1.102 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.9597, allocations: 113.4 kB / 1.102 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.9603, allocations: 55.11 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.9621, allocations: 460.6 kB / 1.102 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.9624, allocations: 0.7094 MB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.9626, allocations: 27.7 kB / 1.103 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.9626, allocations: 0 / 1.103 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.0106/0.9732, allocations: 4.151 MB / 1.107 GB, free: 11.4 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches