Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.000884/0.0008839, allocations: 91.3 kB / 15.06 MB, free: 1.094 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.0008829/0.0008829, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.709/0.7093, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002262/0.7116, allocations: 1.887 MB / 0.9557 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.713, allocations: 0.8526 MB / 0.9565 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.7132, allocations: 2.312 kB / 0.9565 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.7137, allocations: 185.5 kB / 0.9567 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.7139, allocations: 51.8 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.7143, allocations: 77.3 kB / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.7146, allocations: 196.2 kB / 0.957 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.7148, allocations: 72.78 kB / 0.9571 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.7149, allocations: 76.2 kB / 0.9572 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.7151, allocations: 85.89 kB / 0.9572 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.7151, allocations: 6.781 kB / 0.9573 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.7154, allocations: 132.5 kB / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.7156, allocations: 196.1 kB / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.7158, allocations: 126.8 kB / 0.9577 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.7164, allocations: 0.5499 MB / 0.9582 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7164, allocations: 0 / 0.9582 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7164, allocations: 3.938 kB / 0.9582 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.626e-05/0.7165, allocations: 5.688 kB / 0.9582 GB, free: 4.758 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001571/0.718, allocations: 0.8855 MB / 0.9591 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.7181, allocations: 9.062 kB / 0.9591 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.912e-05/0.7182, allocations: 46.36 kB / 0.9591 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006421/0.7188, allocations: 126.8 kB / 0.9593 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/0.7198, allocations: 0.5407 MB / 0.9598 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.7199, allocations: 13.48 kB / 0.9598 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.7199, allocations: 10.88 kB / 0.9598 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.7203, allocations: 205.4 kB / 0.96 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7204, allocations: 0 / 0.96 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.7204, allocations: 1.344 kB / 0.96 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.7204, allocations: 6.578 kB / 0.96 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.7208, allocations: 227 kB / 0.9602 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.7222, allocations: 0.9182 MB / 0.9611 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.7228, allocations: 313.9 kB / 0.9614 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.723, allocations: 105.8 kB / 0.9615 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008981/0.7239, allocations: 400.7 kB / 0.9619 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.724, allocations: 39.64 kB / 0.962 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.724, allocations: 0 / 0.962 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007787/0.7248, allocations: 401.3 kB / 0.9623 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.7248, allocations: 60.47 kB / 0.9624 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.726, allocations: 0.9885 MB / 0.9634 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.7261, allocations: 25.7 kB / 0.9634 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.7263, allocations: 342.9 kB / 0.9637 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.7263, allocations: 35.62 kB / 0.9637 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.7264, allocations: 4.906 kB / 0.9638 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.7264, allocations: 310.9 kB / 0.9641 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.7266, allocations: 103.6 kB / 0.9641 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.7268, allocations: 111.8 kB / 0.9643 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.727, allocations: 109 kB / 0.9644 GB, free: 480 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.727, allocations: 0 / 0.9644 GB, free: 480 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005043/0.7275, allocations: 317.5 kB / 0.9647 GB, free: 320 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7276, allocations: 5.25 kB / 0.9647 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7276, allocations: 3.953 kB / 0.9647 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7276, allocations: 6.312 kB / 0.9647 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.7278, allocations: 26.58 kB / 0.9647 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.7278, allocations: 0.9688 kB / 0.9647 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.7279, allocations: 9.234 kB / 0.9647 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.728, allocations: 3.906 kB / 0.9647 GB, free: 300 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002383/0.7282, allocations: 249.4 kB / 0.965 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.7283, allocations: 75.59 kB / 0.965 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.729, allocations: 332.2 kB / 0.9653 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.729, allocations: 4.703 kB / 0.9653 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.729, allocations: 0.7188 kB / 0.9653 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.7291, allocations: 0 / 0.9653 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.7297, allocations: 0.5276 MB / 0.9659 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.7297, allocations: 0 / 0.9659 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.7299, allocations: 32.17 kB / 0.9659 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.7299, allocations: 1.219 kB / 0.9659 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.7299, allocations: 1.031 kB / 0.9659 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.7299, allocations: 3.953 kB / 0.9659 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7299, allocations: 1 kB / 0.9659 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.7306, allocations: 406.5 kB / 0.9663 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.7308, allocations: 181.5 kB / 0.9665 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.7309, allocations: 0.9375 kB / 0.9665 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.7311, allocations: 8.016 kB / 0.9665 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.7311, allocations: 14.94 kB / 0.9665 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.7311, allocations: 2.312 kB / 0.9665 GB, free: 15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001076/0.7322, allocations: 0.7069 MB / 0.9672 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7322, allocations: 5.344 kB / 0.9672 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004221/0.7327, allocations: 75.31 kB / 0.9673 GB, free: 14.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001008/0.7337, allocations: 0.9515 MB / 0.9682 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.7341, allocations: 212.5 kB / 0.9684 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7342, allocations: 0 / 0.9684 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.7344, allocations: 110 kB / 0.9685 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.7348, allocations: 55.38 kB / 0.9685 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008291/0.7431, allocations: 4.715 MB / 0.9731 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/0.7438, allocations: 0.9428 MB / 0.9741 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.7441, allocations: 75.8 kB / 0.9741 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.7445, allocations: 214.6 kB / 0.9743 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.7445, allocations: 3.938 kB / 0.9743 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.7715, allocations: 11.59 MB / 0.9857 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.7717, allocations: 206.2 kB / 0.9859 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.706, allocations: 0 / 0.9859 GB, free: 15.06 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat does not exist to compare? outputFormat=mat