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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007728/0.0007728, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008095/0.0008095, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8498/0.8498, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.732/1.732, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.69e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002188/0.002205, allocations: 1.984 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.003728, allocations: 1.522 MB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.003783, allocations: 4 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.186e-05/0.003835, allocations: 19.78 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.003914, allocations: 59.48 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.004687, allocations: 369.3 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.004857, allocations: 235 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004974, allocations: 37.75 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.005081, allocations: 131.7 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.005167, allocations: 75.83 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.00519, allocations: 16 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.005685, allocations: 411.4 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.005716, allocations: 39.89 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.005781, allocations: 75.83 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.006211, allocations: 494.6 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.006213, allocations: 0 / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006214, allocations: 0 / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.006218, allocations: 4 kB / 1.005 GB, free: 8.059 MB / 0.9636 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.0005606/0.006778, allocations: 465.1 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.006812, allocations: 8.75 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.006853, allocations: 54.73 kB / 1.005 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.008425, allocations: 368.3 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.008509, allocations: 125.5 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.008585, allocations: 83.89 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.008619, allocations: 16.38 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/0.00943, allocations: 425.2 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.009438, allocations: 192 / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.009465, allocations: 4.375 kB / 1.006 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.009473, allocations: 7.938 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.01056, allocations: 407.3 kB / 1.007 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.01165, allocations: 0.8441 MB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.01344, allocations: 0.549 MB / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.01403, allocations: 228.7 kB / 1.008 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/0.0141, allocations: 19.98 kB / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.01412, allocations: 38.5 kB / 1.008 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.01412, allocations: 0 / 1.008 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17): time 0.00638/0.0205, allocations: 1.724 MB / 1.01 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.02053, allocations: 63.41 kB / 1.01 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.02063, allocations: 161.1 kB / 1.01 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.02066, allocations: 29.7 kB / 1.01 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.02071, allocations: 120.4 kB / 1.011 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.02075, allocations: 59.48 kB / 1.011 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.02083, allocations: 49.67 kB / 1.011 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.02091, allocations: 322.8 kB / 1.011 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006201/0.02153, allocations: 235.8 kB / 1.011 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.02213, allocations: 231.8 kB / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.02324, allocations: 402.6 kB / 1.012 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02325, allocations: 0 / 1.012 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00398/0.02723, allocations: 1.124 MB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.02724, allocations: 4 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.02724, allocations: 0 / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007774/0.02802, allocations: 352.5 kB / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.02841, allocations: 99.89 kB / 1.013 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008678/0.02928, allocations: 0.8371 MB / 1.014 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.0296, allocations: 79.77 kB / 1.014 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.02962, allocations: 11.98 kB / 1.014 GB, free: 14.35 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 9.693e-05/0.02972, allocations: 129.8 kB / 1.014 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.02975, allocations: 11.95 kB / 1.014 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.03145, allocations: 0.6872 MB / 1.015 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.03146, allocations: 0 / 1.015 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.03146, allocations: 8 kB / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.03147, allocations: 3.984 kB / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.03397, allocations: 1.135 MB / 1.016 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.03397, allocations: 0 / 1.016 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.03434, allocations: 95.92 kB / 1.016 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007164/0.03505, allocations: 351.4 kB / 1.017 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.03508, allocations: 7.984 kB / 1.017 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008146/0.03589, allocations: 0.8372 MB / 1.017 GB, free: 11 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.03589, allocations: 0 / 1.017 GB, free: 11 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.03735, allocations: 0.6631 MB / 1.018 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.03737, allocations: 19.84 kB / 1.018 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.0374, allocations: 4 kB / 1.018 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.03774, allocations: 67.91 kB / 1.018 GB, free: 10.22 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.03777, allocations: 7.984 kB / 1.018 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.03779, allocations: 15.98 kB / 1.018 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.03784, allocations: 117.5 kB / 1.018 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.03784, allocations: 4 kB / 1.018 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003335/0.03818, allocations: 135.5 kB / 1.018 GB, free: 9.945 MB / 0.9792 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00194/0.04012, allocations: 1.329 MB / 1.02 GB, free: 8.582 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.04197, allocations: 0.5782 MB / 1.02 GB, free: 8.004 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.04197, allocations: 0 / 1.02 GB, free: 8.004 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.04312, allocations: 351.6 kB / 1.021 GB, free: 7.66 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.04346, allocations: 61.88 kB / 1.021 GB, free: 7.602 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/0.04993, allocations: 3.547 MB / 1.024 GB, free: 3.953 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.278e-05/0.04999, allocations: 106.4 kB / 1.024 GB, free: 3.832 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.05014, allocations: 45.14 kB / 1.024 GB, free: 3.793 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.05026, allocations: 52.45 kB / 1.024 GB, free: 3.742 MB / 0.9792 GB Notification: Performance of SimCode: time 5.01e-07/0.05026, allocations: 0 / 1.024 GB, free: 3.742 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.08114, allocations: 10.39 MB / 1.034 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.187, allocations: 6.562 kB / 1.034 GB, free: 9.598 MB / 0.9948 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.525620070286095]