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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_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.001323/0.001323, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001687/0.001687, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.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.355/2.355, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 59.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.7281, allocations: 140.4 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003254/0.7314, allocations: 2.098 MB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.7336, allocations: 1.742 MB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.7337, allocations: 2.188 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.009e-05/0.7337, allocations: 16.95 kB / 0.9528 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/0.7339, allocations: 42.14 kB / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007581/0.7346, allocations: 303.9 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.7349, allocations: 216.1 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.7351, allocations: 44.27 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.7352, allocations: 81.89 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.7354, allocations: 85.61 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.7355, allocations: 12.19 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.7363, allocations: 394.2 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.7364, allocations: 33.59 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.7365, allocations: 84.52 kB / 0.9541 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.7371, allocations: 430.7 kB / 0.9545 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7371, allocations: 5.344 kB / 0.9545 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7372, allocations: 0 / 0.9545 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.7372, allocations: 0 / 0.9545 GB, free: 4.984 MB / 0.7169 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.0009637/0.7381, allocations: 0.5219 MB / 0.955 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.7382, allocations: 8.812 kB / 0.955 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.77e-05/0.7383, allocations: 52.48 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.7395, allocations: 137.5 kB / 0.9552 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.7397, allocations: 188.7 kB / 0.9554 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.982e-05/0.7398, allocations: 51.23 kB / 0.9554 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.7398, allocations: 18.34 kB / 0.9554 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.7405, allocations: 218.2 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.7405, allocations: 0 / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.7405, allocations: 10.75 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.7406, allocations: 4.094 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007482/0.7413, allocations: 237.8 kB / 0.9559 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.7427, allocations: 0.9676 MB / 0.9568 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.7432, allocations: 182.5 kB / 0.957 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.7435, allocations: 111.2 kB / 0.9571 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005628/0.7441, allocations: 0.5283 MB / 0.9576 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.7441, allocations: 35.92 kB / 0.9576 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.7441, allocations: 0 / 0.9576 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001271/0.7454, allocations: 328.3 kB / 0.958 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.7454, allocations: 57.28 kB / 0.958 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.7456, allocations: 164.1 kB / 0.9582 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.7457, allocations: 31.52 kB / 0.9582 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.7457, allocations: 113.8 kB / 0.9583 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.7458, allocations: 57.89 kB / 0.9584 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.7459, allocations: 43.66 kB / 0.9584 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.746, allocations: 325.9 kB / 0.9587 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.7463, allocations: 104.1 kB / 0.9588 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.7467, allocations: 116.1 kB / 0.9589 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006745/0.7474, allocations: 199.3 kB / 0.9591 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7474, allocations: 0 / 0.9591 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007927/0.7482, allocations: 275.8 kB / 0.9594 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7482, allocations: 6.938 kB / 0.9594 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.7482, allocations: 1.062 kB / 0.9594 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7483, allocations: 8.938 kB / 0.9594 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.7486, allocations: 59.61 kB / 0.9594 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7487, allocations: 1.594 kB / 0.9595 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.749, allocations: 30.17 kB / 0.9595 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.749, allocations: 4.969 kB / 0.9595 GB, free: 0.7578 MB / 0.7169 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 9.544e-05/0.7491, allocations: 132.2 kB / 0.9596 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.7491, allocations: 15.44 kB / 0.9596 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008162/0.75, allocations: 267.1 kB / 0.9599 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.75, allocations: 6.125 kB / 0.9599 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.75, allocations: 4 kB / 0.9599 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.75, allocations: 0 / 0.9599 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.7518, allocations: 1.062 MB / 0.9609 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7519, allocations: 1 kB / 0.9609 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.7522, allocations: 46.42 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7522, allocations: 1.094 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.7522, allocations: 6.188 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.7522, allocations: 1.062 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.7522, allocations: 1.094 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007976/0.753, allocations: 351.8 kB / 0.9613 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.7531, allocations: 97.19 kB / 0.9614 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.7532, allocations: 5.406 kB / 0.9614 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.7535, allocations: 26.03 kB / 0.9614 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.7535, allocations: 13.2 kB / 0.9615 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.7536, allocations: 8.844 kB / 0.9615 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.7537, allocations: 121.9 kB / 0.9616 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7537, allocations: 0 / 0.9616 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004517/0.7541, allocations: 129.1 kB / 0.9617 GB, free: 14.88 MB / 0.7325 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.001434/0.7556, allocations: 1.011 MB / 0.9627 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007424/0.7563, allocations: 230.6 kB / 0.9629 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7563, allocations: 0 / 0.9629 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.7567, allocations: 116.6 kB / 0.963 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.7571, allocations: 52.38 kB / 0.9631 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/0.762, allocations: 2.412 MB / 0.9654 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.7624, allocations: 0.7147 MB / 0.9661 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000197/0.7626, allocations: 30.48 kB / 0.9662 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.7627, allocations: 42.61 kB / 0.9662 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7627, allocations: 0 / 0.9662 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3965/1.159, allocations: 6.046 MB / 0.9721 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/1.159, allocations: 222.5 kB / 0.9723 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/3.253, allocations: 5.094 kB / 0.9723 GB, free: 7.969 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > 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