Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_10_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.006547/0.006547, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001816/0.001816, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437.1 MB / 0.7106 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2393, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002802/0.2421, allocations: 2.024 MB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.2443, allocations: 1.671 MB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.2443, allocations: 4 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.666e-05/0.2444, allocations: 19.8 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.188e-05/0.2445, allocations: 51.55 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.2453, allocations: 366.1 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.2455, allocations: 231 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2457, allocations: 53.52 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.2458, allocations: 71.84 kB / 1.171 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.2459, allocations: 103.7 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2459, allocations: 20 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007086/0.2467, allocations: 411.5 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.2467, allocations: 47.83 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.251e-05/0.2468, allocations: 87.66 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.2473, allocations: 438.8 kB / 1.172 GB, free: 1.707 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2474, allocations: 3.938 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.087e-06/0.2474, allocations: 0 / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2474, allocations: 0 / 1.172 GB, free: 1.703 MB / 0.92 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.0007685/0.2482, allocations: 0.5296 MB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2482, allocations: 12.02 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.2483, allocations: 50.75 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.2493, allocations: 136.7 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2494, allocations: 180.2 kB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/0.2495, allocations: 54.25 kB / 1.173 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.2495, allocations: 16.38 kB / 1.173 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.25, allocations: 213.9 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2501, allocations: 3.984 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.2501, allocations: 11.94 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.2501, allocations: 7.938 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.2508, allocations: 243.6 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.2521, allocations: 0.97 MB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.2526, allocations: 183.9 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.2529, allocations: 116.8 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006086/0.2535, allocations: 0.5181 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2536, allocations: 42.56 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.2536, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001048/0.2546, allocations: 324.3 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.2547, allocations: 63.34 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.2548, allocations: 156.9 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.2549, allocations: 33.7 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.2549, allocations: 112.3 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.255, allocations: 63.47 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.2551, allocations: 37.7 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2552, allocations: 330.8 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.2555, allocations: 99.94 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.2559, allocations: 125.7 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/0.2565, allocations: 192.1 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2565, allocations: 0 / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00075/0.2573, allocations: 279.5 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2573, allocations: 4 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2573, allocations: 3.984 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2573, allocations: 7.938 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.2577, allocations: 55.89 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2577, allocations: 0 / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.2579, allocations: 31.88 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.258, allocations: 11.98 kB / 1.177 GB, free: 12.12 MB / 0.9356 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.0001089/0.2581, allocations: 121.8 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2581, allocations: 15.91 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007661/0.2589, allocations: 266.7 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2589, allocations: 3.938 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2589, allocations: 0 / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2589, allocations: 7.938 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.2606, allocations: 1.074 MB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2606, allocations: 3.984 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.2609, allocations: 43.91 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.2609, allocations: 8.062 kB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2609, allocations: 4 kB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2609, allocations: 0 / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2609, allocations: 4 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.2617, allocations: 348.9 kB / 1.178 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.2618, allocations: 96.94 kB / 1.179 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.2618, allocations: 8 kB / 1.179 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.2621, allocations: 23.97 kB / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.2621, allocations: 15.97 kB / 1.179 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.2622, allocations: 4 kB / 1.179 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.337e-05/0.2622, allocations: 120.9 kB / 1.179 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2622, allocations: 0 / 1.179 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000368/0.2626, allocations: 139.6 kB / 1.179 GB, free: 9.621 MB / 0.9356 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.001258/0.2639, allocations: 1.008 MB / 1.18 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000712/0.2646, allocations: 235.7 kB / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2646, allocations: 0 / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.265, allocations: 111.9 kB / 1.18 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.2653, allocations: 40.17 kB / 1.18 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.2699, allocations: 2.364 MB / 1.183 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.2701, allocations: 0.7047 MB / 1.183 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000157/0.2703, allocations: 41.7 kB / 1.183 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.2704, allocations: 43.41 kB / 1.183 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2704, allocations: 0 / 1.183 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.622/1.893, allocations: 6.347 MB / 1.19 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/16.56, allocations: 9.875 kB / 1.19 GB, free: 14.73 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches