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.001454/0.001454, 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.001658/0.001658, 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 2.107/2.107, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.416/4.416, allocations: 409.2 MB / 0.6838 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007334/0.0007336, allocations: 8 kB / 0.8375 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241/1.241, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.006046/1.248, allocations: 2.276 MB / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003647/1.251, allocations: 0.9768 MB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004856/1.252, allocations: 4 kB / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008963/1.253, allocations: 191.1 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004548/1.253, allocations: 71.81 kB / 0.9843 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/1.254, allocations: 127.7 kB / 0.9844 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006667/1.255, allocations: 264.4 kB / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/1.255, allocations: 162.6 kB / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/1.256, allocations: 115.3 kB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/1.256, allocations: 131.2 kB / 0.9851 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/1.256, allocations: 8 kB / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/1.256, allocations: 131.8 kB / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/1.257, allocations: 187.3 kB / 0.9854 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/1.257, allocations: 145.2 kB / 0.9855 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/1.259, allocations: 0.684 MB / 0.9862 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.259, allocations: 0 / 0.9862 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.499e-06/1.259, allocations: 0 / 0.9862 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.896e-05/1.259, allocations: 0 / 0.9862 GB, free: 0.8555 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.002686/1.261, allocations: 0.9911 MB / 0.9871 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/1.261, allocations: 8.031 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/1.262, allocations: 70.53 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/1.263, allocations: 266.5 kB / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/1.267, allocations: 0.9633 MB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/1.267, allocations: 20.66 kB / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/1.267, allocations: 35.94 kB / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.269, allocations: 329.9 kB / 0.9888 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/1.269, allocations: 0 / 0.9888 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/1.269, allocations: 12 kB / 0.9888 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/1.269, allocations: 8 kB / 0.9888 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/1.27, allocations: 314.4 kB / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/1.274, allocations: 1.43 MB / 0.9905 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/1.275, allocations: 154.7 kB / 0.9907 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/1.275, allocations: 11.98 kB / 0.9907 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/1.275, allocations: 38.56 kB / 0.9907 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 3.727e-06/1.275, allocations: 0 / 0.9907 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0008991/1.276, allocations: 234 kB / 0.9909 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/1.276, allocations: 55.41 kB / 0.991 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/1.278, allocations: 0.8518 MB / 0.9918 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/1.278, allocations: 33.7 kB / 0.9918 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/1.279, allocations: 451.6 kB / 0.9923 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/1.279, allocations: 47.34 kB / 0.9923 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/1.279, allocations: 8 kB / 0.9923 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003032/1.279, allocations: 314 kB / 0.9926 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/1.28, allocations: 47.97 kB / 0.9927 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/1.28, allocations: 172.6 kB / 0.9928 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/1.281, allocations: 81.08 kB / 0.9929 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.281, allocations: 3.938 kB / 0.9929 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001019/1.282, allocations: 320.1 kB / 0.9932 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/1.282, allocations: 8 kB / 0.9932 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.282, allocations: 4 kB / 0.9932 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/1.282, allocations: 7.938 kB / 0.9932 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/1.282, allocations: 64.38 kB / 0.9933 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/1.282, allocations: 15.92 kB / 0.9933 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/1.283, allocations: 31.69 kB / 0.9933 GB, free: 9.145 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/1.283, allocations: 16 kB / 0.9934 GB, free: 9.129 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (31): * Single equations (assignments): 31 * 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.000695/1.284, allocations: 269.7 kB / 0.9936 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/1.284, allocations: 82.92 kB / 0.9937 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009743/1.285, allocations: 226.9 kB / 0.9939 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/1.285, allocations: 4 kB / 0.9939 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001209/1.285, allocations: 4 kB / 0.9939 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/1.285, allocations: 0 / 0.9939 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/1.287, allocations: 0.7345 MB / 0.9946 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.287, allocations: 7.938 kB / 0.9946 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/1.287, allocations: 35.97 kB / 0.9947 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.288, allocations: 0 / 0.9947 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/1.288, allocations: 4.094 kB / 0.9947 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/1.288, allocations: 4 kB / 0.9947 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/1.288, allocations: 7.938 kB / 0.9947 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/1.288, allocations: 356.9 kB / 0.995 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/1.289, allocations: 156 kB / 0.9952 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/1.289, allocations: 4 kB / 0.9952 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0043/1.293, allocations: 8 kB / 0.9952 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.293, allocations: 11.94 kB / 0.9952 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/1.293, allocations: 11.98 kB / 0.9952 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001847/1.295, allocations: 0.5902 MB / 0.9958 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.295, allocations: 4 kB / 0.9958 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008933/1.296, allocations: 67.75 kB / 0.9959 GB, free: 6.406 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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.002042/1.298, allocations: 1.113 MB / 0.9969 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006349/1.299, allocations: 151.7 kB / 0.9971 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.299, allocations: 0 / 0.9971 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/1.299, allocations: 57.05 kB / 0.9971 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/1.3, allocations: 63.44 kB / 0.9972 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.318, allocations: 6.638 MB / 1.004 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/1.32, allocations: 1.011 MB / 1.005 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005496/1.32, allocations: 92.56 kB / 1.005 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/1.321, allocations: 283.3 kB / 1.005 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of SimCode: time 1.222e-06/1.321, allocations: 3.938 kB / 1.005 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06856/1.389, allocations: 10.95 MB / 1.016 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005103/1.39, allocations: 201.9 kB / 1.016 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.143/5.533, allocations: 0 / 1.016 GB, free: 1.738 MB / 0.7637 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