Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: 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_latest_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_latest_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.001606/0.001606, allocations: 104.3 kB / 16.27 MB, free: 6.418 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.001516/0.001516, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 68.3 kB / 0.9245 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8033, allocations: 162.2 MB / 1.083 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003475/0.8069, allocations: 2.037 MB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.8098, allocations: 1.665 MB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.985e-05/0.8099, allocations: 2.688 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.692e-05/0.81, allocations: 19.31 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.8102, allocations: 53.05 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.8116, allocations: 370.4 kB / 1.087 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.8119, allocations: 227.7 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.8121, allocations: 49.56 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.8122, allocations: 86.19 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.8124, allocations: 91.19 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.8125, allocations: 19.03 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.8134, allocations: 402.9 kB / 1.088 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.8135, allocations: 46.95 kB / 1.088 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.8136, allocations: 86.78 kB / 1.088 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.8144, allocations: 435.5 kB / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8144, allocations: 0 / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8144, allocations: 0 / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8144, allocations: 1.062 kB / 1.088 GB, free: 14.22 MB / 0.8419 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.001018/0.8155, allocations: 0.5242 MB / 1.089 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8155, allocations: 13.03 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.8167, allocations: 135.1 kB / 1.089 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.8169, allocations: 179 kB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.817, allocations: 49.5 kB / 1.089 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.817, allocations: 19.48 kB / 1.089 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.8176, allocations: 216.9 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.8177, allocations: 3.938 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.8177, allocations: 11.08 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.8177, allocations: 7.906 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007915/0.8185, allocations: 232.4 kB / 1.09 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.8203, allocations: 0.9644 MB / 1.091 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.8208, allocations: 186.2 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.8212, allocations: 109.5 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007833/0.822, allocations: 0.5281 MB / 1.091 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.822, allocations: 32.23 kB / 1.091 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 3.386e-06/0.822, allocations: 4.922 kB / 1.091 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001257/0.8233, allocations: 328.3 kB / 1.092 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.8234, allocations: 53.31 kB / 1.092 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.8235, allocations: 162.9 kB / 1.092 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.8236, allocations: 35.05 kB / 1.092 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.8237, allocations: 119.6 kB / 1.092 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.8238, allocations: 50.56 kB / 1.092 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.8239, allocations: 44.48 kB / 1.092 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.8241, allocations: 321.6 kB / 1.093 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.8245, allocations: 108 kB / 1.093 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.8249, allocations: 121.6 kB / 1.093 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.8256, allocations: 201.4 kB / 1.093 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8256, allocations: 0 / 1.093 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008701/0.8265, allocations: 266 kB / 1.093 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.8265, allocations: 3.844 kB / 1.093 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.8265, allocations: 4.562 kB / 1.093 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.8266, allocations: 7.297 kB / 1.093 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.827, allocations: 49.25 kB / 1.093 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.827, allocations: 1.625 kB / 1.093 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.8273, allocations: 36.61 kB / 1.093 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.8273, allocations: 17.67 kB / 1.093 GB, free: 10.55 MB / 0.8419 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.0001582/0.8275, allocations: 125 kB / 1.093 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.8276, allocations: 11.83 kB / 1.093 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009354/0.8285, allocations: 268 kB / 1.094 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.8285, allocations: 5.953 kB / 1.094 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8285, allocations: 1 kB / 1.094 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.8285, allocations: 1.453 kB / 1.094 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.8307, allocations: 1.066 MB / 1.095 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.8307, allocations: 4.594 kB / 1.095 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.8311, allocations: 38.88 kB / 1.095 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.8311, allocations: 2.625 kB / 1.095 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.8311, allocations: 6.109 kB / 1.095 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.8311, allocations: 2.531 kB / 1.095 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8311, allocations: 4.969 kB / 1.095 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.8321, allocations: 357.4 kB / 1.095 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.8321, allocations: 94.14 kB / 1.095 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.8322, allocations: 10.05 kB / 1.095 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.8325, allocations: 25.59 kB / 1.095 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.8326, allocations: 13.91 kB / 1.095 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.8326, allocations: 5.203 kB / 1.095 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001224/0.8328, allocations: 119.3 kB / 1.095 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8328, allocations: 0 / 1.095 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006306/0.8334, allocations: 131 kB / 1.096 GB, free: 8.887 MB / 0.8419 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.0005376/0.8339, allocations: 237.5 kB / 1.096 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008639/0.8348, allocations: 230.7 kB / 1.096 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8348, allocations: 1.438 kB / 1.096 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.8352, allocations: 113.3 kB / 1.096 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.8357, allocations: 47.45 kB / 1.096 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.8375, allocations: 453.1 kB / 1.097 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.8379, allocations: 0.7127 MB / 1.097 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.838, allocations: 27.28 kB / 1.097 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.838, allocations: 0 / 1.097 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of Templates: time 0.01099/0.849, allocations: 4.154 MB / 1.101 GB, free: 7.227 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches