Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",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.00875/0.00875, allocations: 101.3 kB / 15.73 MB, free: 6.062 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.002198/0.002199, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.242/2.242, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7555, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002959/0.7585, allocations: 2.042 MB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.7607, allocations: 1.67 MB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.7608, allocations: 1.469 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.235e-05/0.7609, allocations: 19.91 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.7611, allocations: 49.44 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.7623, allocations: 359.3 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.7626, allocations: 235.8 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.7627, allocations: 50.25 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.7629, allocations: 79.62 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.763, allocations: 93.75 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.7631, allocations: 20.09 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009349/0.764, allocations: 415 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.7641, allocations: 47.66 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.928e-05/0.7642, allocations: 90.14 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.7649, allocations: 442.8 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.765, allocations: 0.6875 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.765, allocations: 0 / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.765, allocations: 0 / 1.093 GB, free: 1.895 MB / 0.8575 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.0008708/0.7659, allocations: 0.5349 MB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.7659, allocations: 10 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.766, allocations: 51.78 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.7671, allocations: 144.8 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.7673, allocations: 182.2 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/0.7674, allocations: 54.44 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.7674, allocations: 15 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.768, allocations: 221.6 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.768, allocations: 3.938 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.7681, allocations: 6.625 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7681, allocations: 3.406 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.7688, allocations: 231.8 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.7703, allocations: 0.9645 MB / 1.095 GB, free: 84 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.7709, allocations: 185.7 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.7713, allocations: 117.8 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/0.772, allocations: 0.5155 MB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.772, allocations: 33.77 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.772, allocations: 0 / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.001305/0.7733, allocations: 332.4 kB / 1.096 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.7734, allocations: 54.2 kB / 1.096 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.7736, allocations: 162.1 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.7736, allocations: 35.8 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.7737, allocations: 119.4 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.7738, allocations: 58.84 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.7739, allocations: 40.39 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.774, allocations: 326.2 kB / 1.097 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.7744, allocations: 102.9 kB / 1.097 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.7748, allocations: 122.5 kB / 1.097 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.7756, allocations: 199.1 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7756, allocations: 0 / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008863/0.7765, allocations: 270.5 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7765, allocations: 4.969 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7765, allocations: 4.953 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.7766, allocations: 9.094 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.7769, allocations: 50.73 kB / 1.098 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.777, allocations: 2.031 kB / 1.098 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.7773, allocations: 37.23 kB / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.7773, allocations: 12.8 kB / 1.098 GB, free: 14.15 MB / 0.8731 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.0001434/0.7775, allocations: 124.7 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.7775, allocations: 12.55 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009181/0.7785, allocations: 267.7 kB / 1.098 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7785, allocations: 10.25 kB / 1.098 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7785, allocations: 0 / 1.098 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7785, allocations: 1.719 kB / 1.098 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.7805, allocations: 1.074 MB / 1.099 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7805, allocations: 1.094 kB / 1.099 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.7808, allocations: 47.27 kB / 1.099 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7809, allocations: 5.281 kB / 1.099 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.7809, allocations: 7.984 kB / 1.099 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.7809, allocations: 1.938 kB / 1.099 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7809, allocations: 5 kB / 1.099 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008382/0.7817, allocations: 345.9 kB / 1.1 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.7818, allocations: 93.39 kB / 1.1 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.7819, allocations: 7.188 kB / 1.1 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.7822, allocations: 23.8 kB / 1.1 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.7823, allocations: 14.73 kB / 1.1 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.7823, allocations: 5.219 kB / 1.1 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001041/0.7824, allocations: 119.4 kB / 1.1 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7824, allocations: 0 / 1.1 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006054/0.783, allocations: 130.5 kB / 1.1 GB, free: 12.49 MB / 0.8731 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.001585/0.7846, allocations: 1.012 MB / 1.101 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008571/0.7855, allocations: 227.1 kB / 1.101 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7855, allocations: 4.594 kB / 1.101 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.7859, allocations: 110.6 kB / 1.101 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.7864, allocations: 50 kB / 1.102 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.7915, allocations: 2.333 MB / 1.104 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.7919, allocations: 0.7089 MB / 1.104 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002352/0.7921, allocations: 36.84 kB / 1.105 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.7923, allocations: 47.7 kB / 1.105 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of SimCode: time 1.283e-06/0.7923, allocations: 0.6562 kB / 1.105 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.8206, allocations: 6.343 MB / 1.111 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.543, allocations: 15.25 kB / 1.111 GB, free: 8.48 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches