Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 103 kB / 16.35 MB, free: 5.824 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.00175/0.00175, allocations: 192.7 kB / 17.29 MB, free: 5.48 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.36 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2767, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003399/0.2802, allocations: 2.046 MB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.2825, allocations: 1.664 MB / 0.9547 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.2826, allocations: 4 kB / 0.9547 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.515e-05/0.2826, allocations: 15.8 kB / 0.9548 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2828, allocations: 51.55 kB / 0.9548 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2838, allocations: 358.8 kB / 0.9551 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.284, allocations: 239 kB / 0.9554 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.2842, allocations: 57.48 kB / 0.9554 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.2843, allocations: 75.84 kB / 0.9555 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.2844, allocations: 95.66 kB / 0.9556 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.2845, allocations: 20 kB / 0.9556 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.2852, allocations: 415.5 kB / 0.956 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.2853, allocations: 47.84 kB / 0.9561 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.2854, allocations: 87.64 kB / 0.9561 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.2859, allocations: 438.9 kB / 0.9566 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2859, allocations: 0 / 0.9566 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2859, allocations: 0 / 0.9566 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2859, allocations: 0 / 0.9566 GB, free: 2.469 MB / 0.7325 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.0008392/0.2868, allocations: 0.5187 MB / 0.9571 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2868, allocations: 12.02 kB / 0.9571 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.2879, allocations: 132.6 kB / 0.9572 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.2881, allocations: 188.1 kB / 0.9574 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/0.2881, allocations: 54.19 kB / 0.9574 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.2882, allocations: 12.38 kB / 0.9574 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.2887, allocations: 221.6 kB / 0.9577 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2888, allocations: 3.938 kB / 0.9577 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.2888, allocations: 4 kB / 0.9577 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2888, allocations: 7.984 kB / 0.9577 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.2895, allocations: 231.9 kB / 0.9579 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.291, allocations: 0.9703 MB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.2915, allocations: 182.6 kB / 0.959 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.2918, allocations: 108.8 kB / 0.9591 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/0.2925, allocations: 0.522 MB / 0.9596 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2925, allocations: 30.56 kB / 0.9597 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.2925, allocations: 3.938 kB / 0.9597 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001122/0.2936, allocations: 340.2 kB / 0.96 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2937, allocations: 51.41 kB / 0.96 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2938, allocations: 160.1 kB / 0.9602 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.2938, allocations: 29.7 kB / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.2939, allocations: 120.2 kB / 0.9603 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.294, allocations: 59.17 kB / 0.9604 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.2941, allocations: 41.7 kB / 0.9604 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2942, allocations: 322.8 kB / 0.9607 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.2945, allocations: 107.9 kB / 0.9608 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.2949, allocations: 119.2 kB / 0.9609 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.2955, allocations: 211.6 kB / 0.9611 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2955, allocations: 0 / 0.9611 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007472/0.2962, allocations: 266.2 kB / 0.9614 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2963, allocations: 8 kB / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2963, allocations: 3.984 kB / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2963, allocations: 4.031 kB / 0.9614 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.2967, allocations: 55.89 kB / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2967, allocations: 0 / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.297, allocations: 27.83 kB / 0.9615 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.297, allocations: 15.98 kB / 0.9615 GB, free: 12.96 MB / 0.7481 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.0001136/0.2971, allocations: 125.8 kB / 0.9616 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.2972, allocations: 19.75 kB / 0.9617 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/0.298, allocations: 258.7 kB / 0.9619 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.298, allocations: 11.94 kB / 0.9619 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.298, allocations: 0 / 0.9619 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.298, allocations: 0 / 0.9619 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.2998, allocations: 1.07 MB / 0.963 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.2998, allocations: 3.938 kB / 0.963 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.3001, allocations: 43.97 kB / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3001, allocations: 0 / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3001, allocations: 4 kB / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3001, allocations: 0 / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3001, allocations: 64 / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/0.3009, allocations: 359.3 kB / 0.9633 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.301, allocations: 92.86 kB / 0.9634 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.301, allocations: 4 kB / 0.9634 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.3013, allocations: 27.97 kB / 0.9635 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.3014, allocations: 11.98 kB / 0.9635 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.3014, allocations: 4 kB / 0.9635 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.457e-05/0.3015, allocations: 126.2 kB / 0.9636 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3015, allocations: 0 / 0.9636 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004615/0.302, allocations: 135.8 kB / 0.9637 GB, free: 10.49 MB / 0.7481 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.0004049/0.3024, allocations: 234.9 kB / 0.964 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007399/0.3031, allocations: 235.2 kB / 0.9642 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3031, allocations: 0 / 0.9642 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.3035, allocations: 108.1 kB / 0.9643 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3039, allocations: 59.83 kB / 0.9643 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.3059, allocations: 484.3 kB / 0.9648 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3061, allocations: 0.7124 MB / 0.9655 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.3063, allocations: 29.55 kB / 0.9655 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.3064, allocations: 19.44 kB / 0.9655 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of SimCode: time 5.21e-07/0.3064, allocations: 0 / 0.9655 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of Templates: time 0.007639/0.3141, allocations: 4.525 MB / 0.97 GB, free: 4.086 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches