Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_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.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_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.001143/0.001143, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.244/2.244, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 67.89 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6958, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003023/0.6988, allocations: 2.019 MB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.701, allocations: 1.654 MB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.7011, allocations: 2.656 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/0.7011, allocations: 21.09 kB / 0.9533 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.7012, allocations: 48.88 kB / 0.9534 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.7021, allocations: 362.1 kB / 0.9537 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.7023, allocations: 223.4 kB / 0.9539 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.7024, allocations: 64.28 kB / 0.954 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.805e-05/0.7025, allocations: 76.11 kB / 0.9541 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.7027, allocations: 89.27 kB / 0.9542 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.7027, allocations: 18.06 kB / 0.9542 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.7034, allocations: 400.1 kB / 0.9546 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.7034, allocations: 38.09 kB / 0.9546 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.7035, allocations: 93.45 kB / 0.9547 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005/0.704, allocations: 429.8 kB / 0.9551 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.704, allocations: 0 / 0.9551 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.704, allocations: 0 / 0.9551 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.7041, allocations: 1.156 kB / 0.9551 GB, free: 5.133 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007474/0.7048, allocations: 0.5171 MB / 0.9556 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.7049, allocations: 11.09 kB / 0.9556 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.7049, allocations: 53.73 kB / 0.9557 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005784/0.7055, allocations: 88.45 kB / 0.9557 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.7056, allocations: 181 kB / 0.9559 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.7057, allocations: 50.12 kB / 0.956 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.7057, allocations: 14.25 kB / 0.956 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.7061, allocations: 186.1 kB / 0.9562 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.7062, allocations: 1.781 kB / 0.9562 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.7062, allocations: 5.938 kB / 0.9562 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.7062, allocations: 2.125 kB / 0.9562 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.7067, allocations: 183.4 kB / 0.9563 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.708, allocations: 0.9171 MB / 0.9572 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.7085, allocations: 171.6 kB / 0.9574 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.7087, allocations: 76.95 kB / 0.9575 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005793/0.7093, allocations: 0.5211 MB / 0.958 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.7093, allocations: 32 kB / 0.958 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.7093, allocations: 0 / 0.958 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.000707/0.71, allocations: 243.5 kB / 0.9582 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.7101, allocations: 53.31 kB / 0.9583 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.7102, allocations: 154.5 kB / 0.9584 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.7102, allocations: 30.8 kB / 0.9585 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.7103, allocations: 122.4 kB / 0.9586 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.7103, allocations: 44.8 kB / 0.9586 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.7104, allocations: 38.08 kB / 0.9587 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.7105, allocations: 327 kB / 0.959 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.7107, allocations: 75.7 kB / 0.959 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.7109, allocations: 91.61 kB / 0.9591 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.7112, allocations: 156.2 kB / 0.9593 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7112, allocations: 0 / 0.9593 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00045/0.7117, allocations: 213.2 kB / 0.9595 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7117, allocations: 6.594 kB / 0.9595 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.7117, allocations: 5.078 kB / 0.9595 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.7117, allocations: 1.156 kB / 0.9595 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.712, allocations: 35.78 kB / 0.9595 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.712, allocations: 5.25 kB / 0.9595 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.7122, allocations: 32.42 kB / 0.9596 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.7122, allocations: 12.42 kB / 0.9596 GB, free: 1.164 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 (20): * Single equations (assignments): 20 * 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 8.256e-05/0.7123, allocations: 132.3 kB / 0.9597 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.7123, allocations: 11.53 kB / 0.9597 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.7128, allocations: 194.2 kB / 0.9599 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7128, allocations: 5.203 kB / 0.9599 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7128, allocations: 0.9688 kB / 0.9599 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7129, allocations: 0 / 0.9599 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.7142, allocations: 0.9821 MB / 0.9609 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7142, allocations: 1.156 kB / 0.9609 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.7144, allocations: 33.5 kB / 0.9609 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7145, allocations: 1.25 kB / 0.9609 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.7145, allocations: 6.844 kB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.7145, allocations: 1.25 kB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7145, allocations: 0 / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.715, allocations: 296.1 kB / 0.9612 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.7151, allocations: 93.28 kB / 0.9613 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.7151, allocations: 5.156 kB / 0.9613 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.7153, allocations: 11.92 kB / 0.9613 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.7154, allocations: 17.83 kB / 0.9613 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.7154, allocations: 3.844 kB / 0.9613 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.3e-05/0.7155, allocations: 122.5 kB / 0.9614 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7155, allocations: 1.062 kB / 0.9614 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000536/0.7161, allocations: 125.6 kB / 0.9616 GB, free: 15.41 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 (14): * Single equations (assignments): 14 * 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.001242/0.7173, allocations: 0.9503 MB / 0.9625 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005901/0.7179, allocations: 190.2 kB / 0.9627 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7179, allocations: 5.125 kB / 0.9627 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.7182, allocations: 80.16 kB / 0.9627 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.7187, allocations: 51.55 kB / 0.9628 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.7219, allocations: 2.057 MB / 0.9648 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.7221, allocations: 0.713 MB / 0.9655 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.7223, allocations: 25.11 kB / 0.9655 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.7224, allocations: 46.25 kB / 0.9656 GB, free: 12 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/0.7224, allocations: 4 kB / 0.9656 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.34/1.062, allocations: 5.999 MB / 0.9714 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/9.286, allocations: 12.69 kB / 0.9714 GB, free: 8.973 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches