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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001157/0.001157, 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.001262/0.001262, allocations: 190.8 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 71.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7805, allocations: 140.4 MB / 0.9492 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003226/0.7838, allocations: 2.092 MB / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.786, allocations: 1.646 MB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.7861, allocations: 5.844 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.826e-05/0.7862, allocations: 14 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.7862, allocations: 45.48 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008686/0.7871, allocations: 319.9 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.7873, allocations: 229.6 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.7875, allocations: 65.25 kB / 0.9535 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.7876, allocations: 81.42 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.7877, allocations: 94.06 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.7878, allocations: 19.03 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007009/0.7885, allocations: 412.2 kB / 0.9541 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.7885, allocations: 45.47 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.373e-05/0.7886, allocations: 92.3 kB / 0.9542 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.7891, allocations: 436.5 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.7891, allocations: 0.8438 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7891, allocations: 0 / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.7892, allocations: 0 / 0.9547 GB, free: 4.934 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.0007986/0.79, allocations: 0.5331 MB / 0.9552 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.79, allocations: 9.531 kB / 0.9552 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/0.7901, allocations: 47.98 kB / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.7912, allocations: 141.3 kB / 0.9554 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.027e-05/0.7913, allocations: 184.9 kB / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.674e-05/0.7914, allocations: 51.16 kB / 0.9556 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.7914, allocations: 14.59 kB / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.792, allocations: 223 kB / 0.9558 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.792, allocations: 0 / 0.9558 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.792, allocations: 6.469 kB / 0.9558 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.7921, allocations: 3.531 kB / 0.9558 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.7927, allocations: 230.3 kB / 0.9561 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.7939, allocations: 0.9835 MB / 0.957 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.7944, allocations: 175.3 kB / 0.9572 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.7947, allocations: 114.4 kB / 0.9573 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005104/0.7953, allocations: 0.5241 MB / 0.9578 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.7953, allocations: 31.94 kB / 0.9578 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.7953, allocations: 5.375 kB / 0.9578 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001073/0.7964, allocations: 328 kB / 0.9582 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.7964, allocations: 58.16 kB / 0.9582 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.7965, allocations: 161 kB / 0.9584 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.7966, allocations: 27.2 kB / 0.9584 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.7966, allocations: 119.1 kB / 0.9585 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.7967, allocations: 57.53 kB / 0.9586 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.7968, allocations: 40.39 kB / 0.9586 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.436e-05/0.7968, allocations: 325 kB / 0.9589 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.7971, allocations: 104.3 kB / 0.959 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.7975, allocations: 128.9 kB / 0.9591 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.7981, allocations: 194.1 kB / 0.9593 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7981, allocations: 1.062 kB / 0.9593 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007732/0.7989, allocations: 271.6 kB / 0.9596 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.799, allocations: 8.688 kB / 0.9596 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.799, allocations: 5.047 kB / 0.9596 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.799, allocations: 5.031 kB / 0.9596 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.7994, allocations: 44.5 kB / 0.9596 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.7994, allocations: 5.156 kB / 0.9596 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.7997, allocations: 38.38 kB / 0.9597 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.7997, allocations: 4.281 kB / 0.9597 GB, free: 0.7031 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 0.0001167/0.7999, allocations: 124.9 kB / 0.9598 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.7999, allocations: 15.44 kB / 0.9598 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/0.8008, allocations: 268.6 kB / 0.9601 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.8008, allocations: 6.094 kB / 0.9601 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8008, allocations: 0 / 0.9601 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.8008, allocations: 7.922 kB / 0.9601 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.8027, allocations: 1.066 MB / 0.9611 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8027, allocations: 1.094 kB / 0.9611 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.803, allocations: 36.97 kB / 0.9612 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.8031, allocations: 5.344 kB / 0.9612 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.8031, allocations: 14.7 kB / 0.9612 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8031, allocations: 1.094 kB / 0.9612 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.8031, allocations: 4.75 kB / 0.9612 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.804, allocations: 345.7 kB / 0.9615 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.804, allocations: 97.61 kB / 0.9616 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.8041, allocations: 5.328 kB / 0.9616 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.8044, allocations: 21.89 kB / 0.9616 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.8045, allocations: 14.03 kB / 0.9616 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.8045, allocations: 12.78 kB / 0.9617 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001104/0.8046, allocations: 122.7 kB / 0.9618 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8046, allocations: 4 kB / 0.9618 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008318/0.8054, allocations: 129.6 kB / 0.9619 GB, free: 14.82 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.00167/0.8071, allocations: 0.9973 MB / 0.9629 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008052/0.8079, allocations: 235.4 kB / 0.9631 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.808, allocations: 0 / 0.9631 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.8083, allocations: 110.2 kB / 0.9632 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.8088, allocations: 49.81 kB / 0.9633 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.8143, allocations: 2.421 MB / 0.9656 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.8147, allocations: 0.7111 MB / 0.9663 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.8151, allocations: 38.5 kB / 0.9663 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.8153, allocations: 46.45 kB / 0.9664 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/0.8153, allocations: 0 / 0.9664 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.8348, allocations: 6.187 MB / 0.9724 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.835, allocations: 224.9 kB / 0.9727 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/3.632, allocations: 3.625 kB / 0.9727 GB, free: 7.848 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