Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.405/2.405, allocations: 390.5 MB / 398 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 176.8 kB / 491.2 MB, free: 1.523 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 97.59 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.037e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2276, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9291/1.157, allocations: 156 MB / 1.365 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/1.157, allocations: 89.77 kB / 1.365 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02197/1.179, allocations: 8.173 MB / 1.373 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/1.179, allocations: 0 / 1.373 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.017e-06/1.179, allocations: 0 / 1.373 GB, free: 32.48 MB / 0.8386 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.000767/1.18, allocations: 499.7 kB / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.18, allocations: 11.53 kB / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004579/1.18, allocations: 88.88 kB / 1.373 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.631e-05/1.181, allocations: 174.7 kB / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/1.181, allocations: 44.61 kB / 1.374 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/1.181, allocations: 11.62 kB / 1.374 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000245/1.181, allocations: 144.9 kB / 1.374 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/1.181, allocations: 146 kB / 1.374 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.181, allocations: 4 kB / 1.374 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/1.181, allocations: 0 / 1.374 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.181, allocations: 7.922 kB / 1.374 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/1.182, allocations: 0.8898 MB / 1.375 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/1.183, allocations: 124.1 kB / 1.375 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/1.183, allocations: 61.77 kB / 1.375 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005326/1.183, allocations: 0.5187 MB / 1.375 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/1.183, allocations: 36.64 kB / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/1.183, allocations: 0 / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.001247/1.184, allocations: 252.7 kB / 1.376 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/1.184, allocations: 55.31 kB / 1.376 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/1.185, allocations: 119.5 kB / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/1.185, allocations: 25.7 kB / 1.376 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/1.185, allocations: 127.2 kB / 1.376 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/1.185, allocations: 46.78 kB / 1.376 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/1.185, allocations: 3.938 kB / 1.376 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.185, allocations: 315.8 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/1.185, allocations: 63.11 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.196e-05/1.185, allocations: 77.83 kB / 1.376 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.186, allocations: 173.6 kB / 1.377 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.186, allocations: 3.938 kB / 1.377 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001162/1.187, allocations: 282 kB / 1.377 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.187, allocations: 11.66 kB / 1.377 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.187, allocations: 0 / 1.377 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.187, allocations: 0 / 1.377 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/1.188, allocations: 47.77 kB / 1.377 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/1.188, allocations: 0 / 1.377 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/1.188, allocations: 22.67 kB / 1.377 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/1.188, allocations: 10.47 kB / 1.377 GB, free: 29.68 MB / 0.8386 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 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.188, allocations: 104.9 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001112/1.189, allocations: 256.8 kB / 1.377 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/1.189, allocations: 11.53 kB / 1.377 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/1.19, allocations: 271.2 kB / 1.378 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.19, allocations: 7.844 kB / 1.378 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.19, allocations: 0 / 1.378 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.19, allocations: 3.141 kB / 1.378 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/1.192, allocations: 1.023 MB / 1.379 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.192, allocations: 7.875 kB / 1.379 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/1.192, allocations: 33.81 kB / 1.379 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.192, allocations: 0 / 1.379 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/1.192, allocations: 7.25 kB / 1.379 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.192, allocations: 0 / 1.379 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.193, allocations: 3.984 kB / 1.379 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/1.194, allocations: 391.2 kB / 1.379 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/1.194, allocations: 86.86 kB / 1.379 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/1.194, allocations: 5.984 kB / 1.379 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/1.194, allocations: 11.91 kB / 1.379 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/1.194, allocations: 20.7 kB / 1.379 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/1.194, allocations: 5.984 kB / 1.379 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.755e-05/1.194, allocations: 97.95 kB / 1.379 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.194, allocations: 0 / 1.379 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004907/1.195, allocations: 141.1 kB / 1.379 GB, free: 28.27 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00182/1.196, allocations: 1.176 MB / 1.381 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002534/1.197, allocations: 141.5 kB / 1.381 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.197, allocations: 3.844 kB / 1.381 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/1.197, allocations: 64.91 kB / 1.381 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/1.197, allocations: 25.55 kB / 1.381 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/1.198, allocations: 263.3 kB / 1.381 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/1.198, allocations: 0.717 MB / 1.382 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001476/1.198, allocations: 27.34 kB / 1.382 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.099e-05/1.198, allocations: 41.7 kB / 1.382 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.198, allocations: 0 / 1.382 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/1.221, allocations: 4.407 MB / 1.386 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/1.221, allocations: 169.5 kB / 1.386 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/3.004, allocations: 0 / 1.386 GB, free: 24.76 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat does not exist to compare? outputFormat=mat