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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001175/0.001175, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.00138/0.00138, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.471/2.471, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 12 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6053, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.001943/0.6073, allocations: 1.633 MB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.6094, allocations: 1.486 MB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.6095, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.285e-05/0.6095, allocations: 11.86 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.6097, allocations: 51.88 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007417/0.6104, allocations: 275.3 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.6106, allocations: 147.7 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.6107, allocations: 33.72 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.6108, allocations: 75.77 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.611, allocations: 79.73 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.611, allocations: 8 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007127/0.6117, allocations: 391.5 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.6118, allocations: 39.81 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.6118, allocations: 57.64 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.6123, allocations: 305.3 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.6123, allocations: 0 / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6123, allocations: 4 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6123, allocations: 0 / 1.025 GB, free: 12.49 MB / 0.7794 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.0008383/0.6131, allocations: 0.5027 MB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.6132, allocations: 8.031 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.6143, allocations: 151.7 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.6145, allocations: 178.8 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.6146, allocations: 49.69 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.6146, allocations: 23.95 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.6152, allocations: 213.3 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.6152, allocations: 0 / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.6152, allocations: 4 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.6152, allocations: 8 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.616, allocations: 235.8 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.6175, allocations: 0.9739 MB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.618, allocations: 174.7 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.6187, allocations: 0.5181 MB / 1.028 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6187, allocations: 38.48 kB / 1.028 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.6187, allocations: 0 / 1.028 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0012/0.6199, allocations: 336 kB / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.62, allocations: 55.41 kB / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.6201, allocations: 159.3 kB / 1.029 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.6201, allocations: 33.7 kB / 1.029 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.6202, allocations: 116.1 kB / 1.029 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.6203, allocations: 51.27 kB / 1.029 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.6203, allocations: 0 / 1.029 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6204, allocations: 338.7 kB / 1.029 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.6208, allocations: 100.3 kB / 1.029 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.6212, allocations: 127.7 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.6215, allocations: 95.66 kB / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6215, allocations: 4 kB / 1.03 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007959/0.6223, allocations: 274.9 kB / 1.03 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6224, allocations: 4 kB / 1.03 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.6224, allocations: 0 / 1.03 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.6224, allocations: 0 / 1.03 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.6228, allocations: 63.89 kB / 1.03 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6228, allocations: 0 / 1.03 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.6231, allocations: 31.77 kB / 1.03 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.6231, allocations: 11.98 kB / 1.03 GB, free: 7.262 MB / 0.7794 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.6233, allocations: 129.7 kB / 1.03 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.6233, allocations: 19.81 kB / 1.03 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008456/0.6242, allocations: 262.7 kB / 1.03 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6242, allocations: 0 / 1.03 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6242, allocations: 0 / 1.03 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6242, allocations: 4 kB / 1.03 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.626, allocations: 1.076 MB / 1.031 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.626, allocations: 8 kB / 1.031 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.6264, allocations: 51.95 kB / 1.031 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.6264, allocations: 4 kB / 1.031 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.6264, allocations: 0 / 1.031 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.6264, allocations: 0 / 1.031 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6264, allocations: 4 kB / 1.031 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/0.6272, allocations: 383 kB / 1.032 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.6273, allocations: 88.92 kB / 1.032 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.6273, allocations: 11.98 kB / 1.032 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.6277, allocations: 31.92 kB / 1.032 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.6277, allocations: 11.98 kB / 1.032 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.6278, allocations: 7.984 kB / 1.032 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.113e-05/0.6279, allocations: 117.1 kB / 1.032 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6279, allocations: 3.938 kB / 1.032 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004911/0.6284, allocations: 135.9 kB / 1.032 GB, free: 4.715 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004158/0.6288, allocations: 231 kB / 1.032 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007795/0.6296, allocations: 231.8 kB / 1.033 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6296, allocations: 0 / 1.033 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.6299, allocations: 120.1 kB / 1.033 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.6303, allocations: 34.05 kB / 1.033 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.6318, allocations: 497.3 kB / 1.033 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.6321, allocations: 0.7128 MB / 1.034 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.6323, allocations: 32.8 kB / 1.034 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.6324, allocations: 23.42 kB / 1.034 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6324, allocations: 3.938 kB / 1.034 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of Templates: time 0.007769/0.6402, allocations: 4.297 MB / 1.038 GB, free: 14.54 MB / 0.795 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=480 -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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches