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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001168/0.001168, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.0086/0.0086, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005216, allocations: 8 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6895, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002125/0.6917, allocations: 1.749 MB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.6942, allocations: 1.719 MB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.6943, allocations: 8 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.6943, allocations: 11.91 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.6944, allocations: 47.61 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.6953, allocations: 291.2 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.6956, allocations: 215.2 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.6957, allocations: 45.53 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.6958, allocations: 71.72 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.696, allocations: 91.66 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.696, allocations: 8 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007624/0.6968, allocations: 387.5 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.6968, allocations: 39.89 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.6969, allocations: 109.3 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.6975, allocations: 429.1 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.6975, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6975, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6975, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 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.0008065/0.6984, allocations: 0.4913 MB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.6984, allocations: 8.031 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.435e-05/0.6985, allocations: 58.67 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.6996, allocations: 144.6 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.6998, allocations: 188 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.243e-05/0.6999, allocations: 46.27 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.6999, allocations: 20.36 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.7005, allocations: 221.6 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7005, allocations: 3.938 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.7006, allocations: 4 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.7006, allocations: 4 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.7013, allocations: 243.8 kB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.7028, allocations: 0.9661 MB / 1.031 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.7032, allocations: 178.6 kB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.7036, allocations: 117.1 kB / 1.031 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006252/0.7042, allocations: 0.522 MB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.7043, allocations: 38.48 kB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.7043, allocations: 0 / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00118/0.7055, allocations: 329.5 kB / 1.032 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.7055, allocations: 55.41 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.7057, allocations: 164 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.7057, allocations: 33.7 kB / 1.032 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.7058, allocations: 116.1 kB / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.7059, allocations: 63.19 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.7059, allocations: 17.72 kB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.706, allocations: 326.8 kB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.7064, allocations: 107.9 kB / 1.033 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.7068, allocations: 122.2 kB / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.7074, allocations: 208.4 kB / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7075, allocations: 0 / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008158/0.7083, allocations: 269.4 kB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.7083, allocations: 8 kB / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7083, allocations: 0 / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.7083, allocations: 0 / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.7087, allocations: 55.92 kB / 1.033 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.7087, allocations: 7.938 kB / 1.033 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.709, allocations: 39.72 kB / 1.033 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.7091, allocations: 8 kB / 1.033 GB, free: 5.113 MB / 0.7794 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.000116/0.7092, allocations: 122.3 kB / 1.033 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.7092, allocations: 11.91 kB / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008659/0.7101, allocations: 276.6 kB / 1.034 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7101, allocations: 3.938 kB / 1.034 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7101, allocations: 0 / 1.034 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7102, allocations: 11.92 kB / 1.034 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.7119, allocations: 1.066 MB / 1.035 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.712, allocations: 7.938 kB / 1.035 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.7123, allocations: 35.97 kB / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.7123, allocations: 8 kB / 1.035 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.7123, allocations: 0 / 1.035 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/0.7123, allocations: 12.05 kB / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7123, allocations: 7.922 kB / 1.035 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.7131, allocations: 344.9 kB / 1.035 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.7132, allocations: 104.9 kB / 1.035 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.7132, allocations: 8 kB / 1.035 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.7136, allocations: 23.97 kB / 1.035 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.7136, allocations: 11.98 kB / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.7136, allocations: 4 kB / 1.035 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.095e-05/0.7137, allocations: 122.1 kB / 1.035 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7138, allocations: 4 kB / 1.035 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004677/0.7142, allocations: 131.8 kB / 1.035 GB, free: 2.609 MB / 0.7794 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.001412/0.7156, allocations: 1.009 MB / 1.036 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007691/0.7164, allocations: 238.4 kB / 1.037 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7164, allocations: 4 kB / 1.037 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.7168, allocations: 116.1 kB / 1.037 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.7172, allocations: 39.97 kB / 1.037 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.7224, allocations: 2.446 MB / 1.039 GB, free: 14.64 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.7227, allocations: 0.705 MB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002006/0.7229, allocations: 41.62 kB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.723, allocations: 47.41 kB / 1.04 GB, free: 13.83 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.723, allocations: 0 / 1.04 GB, free: 13.83 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.7406, allocations: 5.971 MB / 1.046 GB, free: 8.043 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.7409, allocations: 214.3 kB / 1.046 GB, free: 7.793 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.69, allocations: 4 kB / 1.046 GB, free: 7.789 MB / 0.795 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=50 --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