Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests",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.0008249/0.000825, allocations: 89.81 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.0007997/0.0007997, 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.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.43 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.48/2.48, allocations: 390.4 MB / 0.6655 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003609, allocations: 12 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7587, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.001075/0.7598, allocations: 0.5124 MB / 0.9544 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.761, allocations: 0.8592 MB / 0.9552 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.7611, allocations: 1.969 kB / 0.9552 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.617e-05/0.7612, allocations: 3.938 kB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.7612, allocations: 18.2 kB / 0.9552 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.7613, allocations: 27.88 kB / 0.9553 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.7615, allocations: 114.3 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.7616, allocations: 23.11 kB / 0.9554 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.7617, allocations: 51.2 kB / 0.9554 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.7618, allocations: 45.19 kB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.7618, allocations: 5.406 kB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.7618, allocations: 5.438 kB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.7619, allocations: 20.39 kB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.7619, allocations: 42.45 kB / 0.9556 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.762, allocations: 88.2 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.762, allocations: 0 / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.762, allocations: 1.188 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.762, allocations: 0 / 0.9556 GB, free: 6.672 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006914/0.7627, allocations: 488.3 kB / 0.9561 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.7628, allocations: 8.625 kB / 0.9561 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.7629, allocations: 37.97 kB / 0.9562 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.7629, allocations: 19.7 kB / 0.9562 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.7631, allocations: 203.1 kB / 0.9564 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.7631, allocations: 2.5 kB / 0.9564 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.7631, allocations: 10.09 kB / 0.9564 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.7636, allocations: 209 kB / 0.9566 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.7637, allocations: 7.875 kB / 0.9566 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.7637, allocations: 2.219 kB / 0.9566 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7637, allocations: 5.188 kB / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/0.7644, allocations: 262.3 kB / 0.9568 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.765, allocations: 422.7 kB / 0.9572 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.7654, allocations: 197.4 kB / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.7658, allocations: 191.5 kB / 0.9576 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.7659, allocations: 5.203 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.7659, allocations: 36.41 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.7659, allocations: 0 / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.001314/0.7672, allocations: 0.5311 MB / 0.9582 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.7673, allocations: 89.55 kB / 0.9583 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.7674, allocations: 146.8 kB / 0.9584 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.7674, allocations: 32.45 kB / 0.9584 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.7674, allocations: 97.55 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.7675, allocations: 27.77 kB / 0.9585 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.7675, allocations: 1.375 kB / 0.9585 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.7676, allocations: 321.6 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.7679, allocations: 158.9 kB / 0.959 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.7683, allocations: 156.2 kB / 0.9592 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.7686, allocations: 137.3 kB / 0.9593 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7686, allocations: 0 / 0.9593 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008853/0.7695, allocations: 398.1 kB / 0.9597 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.7696, allocations: 37.22 kB / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7696, allocations: 0.7812 kB / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.7696, allocations: 0 / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.7699, allocations: 51.2 kB / 0.9598 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.7699, allocations: 13.06 kB / 0.9598 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.7701, allocations: 56 kB / 0.9598 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.7701, allocations: 7.062 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001175/0.7703, allocations: 154.5 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.7703, allocations: 13.47 kB / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.7704, allocations: 15.67 kB / 0.96 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7704, allocations: 1 kB / 0.96 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7704, allocations: 0 / 0.96 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.7704, allocations: 0.9688 kB / 0.96 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.7706, allocations: 214.6 kB / 0.9602 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7706, allocations: 4 kB / 0.9602 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.7708, allocations: 45.86 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7708, allocations: 0.75 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.7709, allocations: 2.375 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7709, allocations: 9.047 kB / 0.9603 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7709, allocations: 0 / 0.9603 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.7718, allocations: 500 kB / 0.9607 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.7719, allocations: 87.27 kB / 0.9608 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.7719, allocations: 2.719 kB / 0.9608 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.7721, allocations: 51.86 kB / 0.9609 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.7724, allocations: 84.94 kB / 0.961 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.7724, allocations: 11.06 kB / 0.961 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.7725, allocations: 112.3 kB / 0.9611 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7725, allocations: 0 / 0.9611 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002545/0.7727, allocations: 24.12 kB / 0.9611 GB, free: 2.734 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001082/0.7738, allocations: 1.029 MB / 0.9621 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008434/0.7747, allocations: 399.4 kB / 0.9625 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7747, allocations: 0 / 0.9625 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.7751, allocations: 255.8 kB / 0.9627 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.7754, allocations: 21.27 kB / 0.9627 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.7777, allocations: 1.211 MB / 0.9639 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.7778, allocations: 0.6996 MB / 0.9646 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.763e-05/0.7779, allocations: 16.19 kB / 0.9646 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.778, allocations: 21.69 kB / 0.9647 GB, free: 116 kB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.778, allocations: 0 / 0.9647 GB, free: 116 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.7934, allocations: 3.337 MB / 0.9679 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.7937, allocations: 219.2 kB / 0.9681 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.614, allocations: 0 / 0.9681 GB, free: 14.32 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat does not exist to compare? outputFormat=mat