Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.001106/0.001106, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009921/0.000992, allocations: 168.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.45/1.45, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.534/2.534, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 11.94 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7305, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003247/0.7338, allocations: 2.296 MB / 0.9834 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.7357, allocations: 0.9998 MB / 0.9844 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.7359, allocations: 4 kB / 0.9844 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.7364, allocations: 182.9 kB / 0.9845 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.7366, allocations: 71.55 kB / 0.9846 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.737, allocations: 127.8 kB / 0.9847 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.7373, allocations: 347.9 kB / 0.9851 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.7376, allocations: 158.6 kB / 0.9852 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.7378, allocations: 111.4 kB / 0.9853 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.738, allocations: 135.2 kB / 0.9854 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.738, allocations: 16 kB / 0.9855 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.7383, allocations: 143.8 kB / 0.9856 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.7385, allocations: 219.3 kB / 0.9858 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.7386, allocations: 145.2 kB / 0.9859 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.7393, allocations: 0.7307 MB / 0.9867 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.7394, allocations: 0 / 0.9867 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7394, allocations: 0 / 0.9867 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.7394, allocations: 0 / 0.9867 GB, free: 0.5859 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001301/0.7407, allocations: 1.007 MB / 0.9876 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.7407, allocations: 12.03 kB / 0.9877 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.227e-05/0.7408, allocations: 70.47 kB / 0.9877 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.742, allocations: 266.5 kB / 0.988 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.7432, allocations: 0.6987 MB / 0.9887 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.7433, allocations: 28.59 kB / 0.9887 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.7433, allocations: 32 kB / 0.9887 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007777/0.7441, allocations: 389.9 kB / 0.9891 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.7441, allocations: 7.984 kB / 0.9891 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.7442, allocations: 15.98 kB / 0.9891 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.7442, allocations: 8 kB / 0.9891 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000932/0.7451, allocations: 430.4 kB / 0.9895 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.7486, allocations: 2.127 MB / 0.9916 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.7492, allocations: 214.8 kB / 0.9918 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.7495, allocations: 106.1 kB / 0.9919 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.7495, allocations: 8.062 kB / 0.9919 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.7496, allocations: 34.56 kB / 0.992 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.7496, allocations: 0 / 0.992 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0009591/0.7505, allocations: 369.4 kB / 0.9923 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.7506, allocations: 55.41 kB / 0.9924 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.752, allocations: 1.239 MB / 0.9936 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.7521, allocations: 33.7 kB / 0.9936 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.7525, allocations: 428.1 kB / 0.994 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.7525, allocations: 59.11 kB / 0.9941 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.7526, allocations: 4 kB / 0.9941 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7527, allocations: 318 kB / 0.9944 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.753, allocations: 151.9 kB / 0.9945 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.7534, allocations: 201.9 kB / 0.9947 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.7537, allocations: 147.8 kB / 0.9949 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.7537, allocations: 11.98 kB / 0.9949 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008556/0.7546, allocations: 466.1 kB / 0.9953 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.7546, allocations: 9.094 kB / 0.9953 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.7546, allocations: 0 / 0.9953 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7547, allocations: 4 kB / 0.9953 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.755, allocations: 51.95 kB / 0.9954 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.755, allocations: 7.938 kB / 0.9954 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.7553, allocations: 39.67 kB / 0.9954 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.7553, allocations: 8 kB / 0.9954 GB, free: 7.293 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003397/0.7556, allocations: 273.7 kB / 0.9957 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.7558, allocations: 94.83 kB / 0.9958 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000829/0.7566, allocations: 324.1 kB / 0.9961 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7566, allocations: 0 / 0.9961 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.7566, allocations: 0 / 0.9961 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.7566, allocations: 0 / 0.9961 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.7583, allocations: 1.003 MB / 0.9971 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7584, allocations: 4 kB / 0.9971 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.7586, allocations: 39.97 kB / 0.9971 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.7586, allocations: 8.125 kB / 0.9971 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.7586, allocations: 8 kB / 0.9971 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.7587, allocations: 11.92 kB / 0.9971 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7587, allocations: 4 kB / 0.9971 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/0.7595, allocations: 435.6 kB / 0.9976 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.7597, allocations: 207.9 kB / 0.9978 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.7598, allocations: 8 kB / 0.9978 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.7601, allocations: 15.98 kB / 0.9978 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.7601, allocations: 19.97 kB / 0.9978 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.7602, allocations: 4 kB / 0.9978 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001102/0.7613, allocations: 0.9028 MB / 0.9987 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7613, allocations: 0 / 0.9987 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004499/0.7617, allocations: 99.84 kB / 0.9988 GB, free: 3.699 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001177/0.7629, allocations: 0.995 MB / 0.9997 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000694/0.7636, allocations: 275.7 kB / 1 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7637, allocations: 0 / 1 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.7639, allocations: 104.5 kB / 1 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.7644, allocations: 59.5 kB / 1 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.7756, allocations: 5.49 MB / 1.006 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.7764, allocations: 0.991 MB / 1.006 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000393/0.7768, allocations: 96.66 kB / 1.007 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.7772, allocations: 299.3 kB / 1.007 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of SimCode: time 8.31e-07/0.7772, allocations: 0 / 1.007 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.8054, allocations: 13.65 MB / 1.02 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.8056, allocations: 215.9 kB / 1.02 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.832, allocations: 0 / 1.02 GB, free: 13.47 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat does not exist to compare? outputFormat=mat