Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00112/0.00112, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.473/2.473, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 66.39 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2461, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002858/0.249, allocations: 2.102 MB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.251, allocations: 1.671 MB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.2511, allocations: 4 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.094e-05/0.2512, allocations: 7.922 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.576e-05/0.2513, allocations: 47.61 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/0.2521, allocations: 315.2 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.2523, allocations: 227.1 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2524, allocations: 49.52 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.619e-05/0.2525, allocations: 91.77 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2526, allocations: 87.67 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.2527, allocations: 20 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006436/0.2533, allocations: 419.4 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.2534, allocations: 43.91 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.348e-05/0.2535, allocations: 91.64 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004979/0.254, allocations: 439.2 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.145e-06/0.254, allocations: 0 / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.61e-07/0.254, allocations: 4 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.254, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 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.0007379/0.2547, allocations: 0.5225 MB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.2548, allocations: 8.625 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.2548, allocations: 50.73 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.2559, allocations: 136.6 kB / 1.059 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.256, allocations: 184.2 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/0.2561, allocations: 50.25 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.2561, allocations: 16.38 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.2566, allocations: 225.5 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.2566, allocations: 0 / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.2567, allocations: 4 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2567, allocations: 11.94 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.2573, allocations: 235.8 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.2586, allocations: 0.9584 MB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.259, allocations: 186.6 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.2594, allocations: 116.8 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/0.26, allocations: 0.522 MB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.26, allocations: 34.56 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.26, allocations: 0 / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001048/0.2611, allocations: 339.9 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2611, allocations: 55.41 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2612, allocations: 154.5 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2613, allocations: 29.7 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.2613, allocations: 120.2 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.2614, allocations: 55.2 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.2615, allocations: 41.7 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.2616, allocations: 330.8 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.2619, allocations: 99.94 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.2622, allocations: 121.7 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.2628, allocations: 199.5 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2628, allocations: 0 / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007211/0.2636, allocations: 279.2 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2636, allocations: 4 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2636, allocations: 0 / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.2636, allocations: 3.938 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.264, allocations: 51.91 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.264, allocations: 7.984 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.2642, allocations: 27.83 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.2643, allocations: 8 kB / 1.063 GB, free: 13.5 MB / 0.8262 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.0001092/0.2644, allocations: 137.7 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.2644, allocations: 15.81 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007477/0.2652, allocations: 258.7 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2652, allocations: 3.938 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2652, allocations: 0 / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.2652, allocations: 4 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.2668, allocations: 1.076 MB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2668, allocations: 4.062 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.2671, allocations: 43.95 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2672, allocations: 0 / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.2672, allocations: 8 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2672, allocations: 0 / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2672, allocations: 4 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.2679, allocations: 350.9 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.268, allocations: 96.84 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.268, allocations: 8 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.2683, allocations: 27.97 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.2684, allocations: 15.98 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.2684, allocations: 4 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.2685, allocations: 117.9 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2685, allocations: 0 / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004003/0.2689, allocations: 131.9 kB / 1.065 GB, free: 11.02 MB / 0.8262 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.00124/0.2701, allocations: 1.01 MB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007036/0.2708, allocations: 243.7 kB / 1.066 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2708, allocations: 0 / 1.066 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.2712, allocations: 112.1 kB / 1.066 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.2716, allocations: 46.78 kB / 1.066 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.276, allocations: 2.393 MB / 1.069 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.2762, allocations: 0.7202 MB / 1.069 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.2764, allocations: 37.69 kB / 1.07 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.2765, allocations: 43.42 kB / 1.07 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2765, allocations: 0 / 1.07 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5763/0.8528, allocations: 6.206 MB / 1.076 GB, free: 272 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/0.8531, allocations: 219.8 kB / 1.076 GB, free: 16 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.903, allocations: 2.125 kB / 1.076 GB, free: 16 kB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches