Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",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.001118/0.001118, allocations: 91.38 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.001349/0.001349, 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.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.655/2.655, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000587/0.0005871, allocations: 16 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7834, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002879/0.7863, allocations: 1.91 MB / 0.983 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.7887, allocations: 1.32 MB / 0.9843 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.7889, allocations: 4 kB / 0.9843 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.7895, allocations: 175.2 kB / 0.9845 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.7899, allocations: 107.5 kB / 0.9846 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.7905, allocations: 130.7 kB / 0.9847 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.7909, allocations: 231.1 kB / 0.9849 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.7911, allocations: 54.94 kB / 0.985 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.7913, allocations: 91.52 kB / 0.9851 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.7915, allocations: 103.5 kB / 0.9852 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.7915, allocations: 8 kB / 0.9852 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.7917, allocations: 35.98 kB / 0.9852 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.7918, allocations: 91.66 kB / 0.9853 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.7919, allocations: 81.45 kB / 0.9854 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.7923, allocations: 287.3 kB / 0.9856 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7923, allocations: 0 / 0.9856 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7923, allocations: 4 kB / 0.9856 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.7923, allocations: 0 / 0.9856 GB, free: 1.648 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001118/0.7934, allocations: 0.6532 MB / 0.9863 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.7935, allocations: 8.031 kB / 0.9863 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.027e-05/0.7936, allocations: 42.55 kB / 0.9863 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.7937, allocations: 47.34 kB / 0.9864 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.7943, allocations: 379.1 kB / 0.9867 GB, free: 440 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7943, allocations: 11.94 kB / 0.9867 GB, free: 428 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.7943, allocations: 8 kB / 0.9868 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.7946, allocations: 105.5 kB / 0.9869 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7946, allocations: 0 / 0.9869 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.7946, allocations: 0 / 0.9869 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.7946, allocations: 7.938 kB / 0.9869 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.7948, allocations: 47.97 kB / 0.9869 GB, free: 252 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/0.7956, allocations: 0.4965 MB / 0.9874 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.796, allocations: 102.7 kB / 0.9875 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.7961, allocations: 36.84 kB / 0.9875 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.7962, allocations: 4 kB / 0.9875 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.7964, allocations: 87.31 kB / 0.9876 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.7964, allocations: 0 / 0.9876 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0004125/0.7968, allocations: 177 kB / 0.9878 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.7968, allocations: 51.41 kB / 0.9878 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.7974, allocations: 0.4988 MB / 0.9883 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.7974, allocations: 29.7 kB / 0.9883 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.7976, allocations: 224 kB / 0.9886 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.7977, allocations: 35.67 kB / 0.9886 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.7977, allocations: 0 / 0.9886 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7979, allocations: 366.7 kB / 0.9889 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.798, allocations: 48.36 kB / 0.989 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.7981, allocations: 72.05 kB / 0.9891 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.7983, allocations: 61.5 kB / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7983, allocations: 0 / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003646/0.7987, allocations: 205 kB / 0.9893 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7987, allocations: 8 kB / 0.9893 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.7987, allocations: 0 / 0.9893 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.7987, allocations: 0 / 0.9893 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.7989, allocations: 39.91 kB / 0.9894 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7989, allocations: 4 kB / 0.9894 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.7991, allocations: 19.97 kB / 0.9894 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.7991, allocations: 15.94 kB / 0.9894 GB, free: 13.56 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002001/0.7993, allocations: 183.5 kB / 0.9896 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.7994, allocations: 51.44 kB / 0.9896 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.7995, allocations: 47.91 kB / 0.9897 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.7995, allocations: 7.938 kB / 0.9897 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7995, allocations: 3.938 kB / 0.9897 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7995, allocations: 0 / 0.9897 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.7998, allocations: 321.4 kB / 0.99 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.7998, allocations: 3.984 kB / 0.99 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.7999, allocations: 8 kB / 0.99 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7999, allocations: 0 / 0.99 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.7999, allocations: 4 kB / 0.99 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7999, allocations: 0 / 0.99 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7999, allocations: 0 / 0.99 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.8003, allocations: 216.4 kB / 0.9902 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/0.8004, allocations: 116.6 kB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.8005, allocations: 7.984 kB / 0.9903 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.8006, allocations: 8 kB / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.8006, allocations: 11.98 kB / 0.9903 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.8007, allocations: 7.984 kB / 0.9903 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003857/0.8011, allocations: 346.8 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8011, allocations: 0 / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002959/0.8014, allocations: 47.94 kB / 0.9907 GB, free: 12.1 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001637/0.803, allocations: 1.077 MB / 0.9918 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.8033, allocations: 105.3 kB / 0.9919 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8033, allocations: 4 kB / 0.9919 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.78e-05/0.8035, allocations: 43.98 kB / 0.9919 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.8039, allocations: 63.92 kB / 0.992 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.8074, allocations: 2.276 MB / 0.9942 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.8079, allocations: 0.8223 MB / 0.995 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.808, allocations: 37.92 kB / 0.995 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.8082, allocations: 123.4 kB / 0.9952 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.8082, allocations: 0 / 0.9952 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.8304, allocations: 7.452 MB / 1.002 GB, free: 360 kB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.8306, allocations: 247.7 kB / 1.003 GB, free: 104 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.813, allocations: 0 / 1.003 GB, free: 104 kB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat does not exist to compare? outputFormat=mat