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.00124/0.00124, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001565/0.001565, allocations: 177.3 kB / 15.95 MB, free: 216 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.46/1.46, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.359/2.359, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004062, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7346/0.7351, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002181/0.7373, allocations: 1.859 MB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.7385, allocations: 0.8314 MB / 0.9562 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.362e-05/0.7386, allocations: 2.125 kB / 0.9562 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.7391, allocations: 190.9 kB / 0.9564 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.7392, allocations: 64.86 kB / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.7395, allocations: 72.11 kB / 0.9565 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.7398, allocations: 172.2 kB / 0.9567 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.7399, allocations: 65.16 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.74, allocations: 71.77 kB / 0.9568 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.7401, allocations: 83.72 kB / 0.9569 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.7402, allocations: 3.562 kB / 0.9569 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.7404, allocations: 133.4 kB / 0.957 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.7405, allocations: 169.4 kB / 0.9572 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/0.7406, allocations: 117.5 kB / 0.9573 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.741, allocations: 0.4991 MB / 0.9578 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.741, allocations: 4 kB / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.741, allocations: 0 / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.7411, allocations: 0 / 0.9578 GB, free: 4.914 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.0008575/0.7419, allocations: 0.8721 MB / 0.9587 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.742, allocations: 8.25 kB / 0.9587 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.742, allocations: 42.81 kB / 0.9587 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.7425, allocations: 130.7 kB / 0.9588 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.7436, allocations: 0.7863 MB / 0.9596 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.7436, allocations: 13.16 kB / 0.9596 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.7436, allocations: 14.86 kB / 0.9596 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.744, allocations: 139.6 kB / 0.9598 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.744, allocations: 4.953 kB / 0.9598 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.744, allocations: 5.031 kB / 0.9598 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.744, allocations: 10.94 kB / 0.9598 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.7444, allocations: 108.8 kB / 0.9599 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008184/0.7452, allocations: 0.6179 MB / 0.9605 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.7457, allocations: 144.1 kB / 0.9606 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006611/0.7464, allocations: 0.5802 MB / 0.9612 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.7464, allocations: 35.31 kB / 0.9612 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.7465, allocations: 1.344 kB / 0.9612 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000371/0.7468, allocations: 140.7 kB / 0.9614 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.7469, allocations: 51.41 kB / 0.9614 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009721/0.7478, allocations: 0.7876 MB / 0.9622 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.7479, allocations: 29.7 kB / 0.9622 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.7481, allocations: 369.5 kB / 0.9626 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.7481, allocations: 13.69 kB / 0.9626 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.7482, allocations: 5.031 kB / 0.9626 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.7482, allocations: 315 kB / 0.9629 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.7483, allocations: 13.47 kB / 0.9629 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.7483, allocations: 69.89 kB / 0.963 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.7484, allocations: 24.88 kB / 0.963 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7484, allocations: 1.219 kB / 0.963 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002407/0.7487, allocations: 169.6 kB / 0.9631 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7487, allocations: 10.28 kB / 0.9632 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7487, allocations: 1.312 kB / 0.9632 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.7487, allocations: 3.688 kB / 0.9632 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.7488, allocations: 23.8 kB / 0.9632 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.7488, allocations: 1.406 kB / 0.9632 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.17e-05/0.7489, allocations: 8.125 kB / 0.9632 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.749, allocations: 5.469 kB / 0.9632 GB, free: 0.5391 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.000202/0.7492, allocations: 258.3 kB / 0.9634 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.7492, allocations: 71 kB / 0.9635 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.7495, allocations: 137.6 kB / 0.9636 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7495, allocations: 1.062 kB / 0.9636 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7495, allocations: 0 / 0.9636 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7495, allocations: 1.125 kB / 0.9636 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.7499, allocations: 399.3 kB / 0.964 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.7499, allocations: 384 / 0.964 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.75, allocations: 11.61 kB / 0.964 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.75, allocations: 5.359 kB / 0.964 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.75, allocations: 4 kB / 0.964 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.75, allocations: 1.094 kB / 0.964 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.75, allocations: 0 / 0.964 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.7503, allocations: 230.4 kB / 0.9643 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.7504, allocations: 145.9 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.7505, allocations: 0.9688 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.7506, allocations: 5.25 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.7506, allocations: 6.266 kB / 0.9644 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.7506, allocations: 1.094 kB / 0.9644 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006435/0.7513, allocations: 0.5533 MB / 0.965 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7513, allocations: 0 / 0.965 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003079/0.7516, allocations: 39.91 kB / 0.965 GB, free: 15.21 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 (5): * Single equations (assignments): 5 * 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.0006723/0.7523, allocations: 0.7792 MB / 0.9658 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.7525, allocations: 43.92 kB / 0.9658 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7525, allocations: 0 / 0.9658 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.7526, allocations: 18.86 kB / 0.9658 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.0003351/0.7529, allocations: 47.28 kB / 0.9659 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/0.7595, allocations: 4.472 MB / 0.9702 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.7601, allocations: 0.9583 MB / 0.9712 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002442/0.7604, allocations: 68.98 kB / 0.9712 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.7606, allocations: 214.4 kB / 0.9714 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.7606, allocations: 0 / 0.9714 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.7853, allocations: 9.343 MB / 0.9806 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.7855, allocations: 198.1 kB / 0.9807 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.653, allocations: 0 / 0.9807 GB, free: 3.957 MB / 0.7325 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