Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001514/0.001514, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001851/0.001851, allocations: 194.4 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7653, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002466/0.7678, allocations: 1.036 MB / 0.9501 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.7696, allocations: 1.313 MB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.7698, allocations: 1.344 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.7699, allocations: 7.922 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.7701, allocations: 32.81 kB / 0.9514 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.7708, allocations: 241.1 kB / 0.9516 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.771, allocations: 288.3 kB / 0.9519 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.7712, allocations: 46.47 kB / 0.9519 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.7713, allocations: 103.2 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.7715, allocations: 102 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.7715, allocations: 14.44 kB / 0.9522 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.845e-05/0.7716, allocations: 32.56 kB / 0.9522 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.7717, allocations: 28.38 kB / 0.9522 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.7718, allocations: 105.9 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.7721, allocations: 322.6 kB / 0.9526 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7721, allocations: 3.984 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7721, allocations: 1.031 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.7722, allocations: 0 / 0.9526 GB, free: 6.395 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008613/0.773, allocations: 0.5603 MB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7731, allocations: 9.438 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.7731, allocations: 41.05 kB / 0.9532 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.7732, allocations: 30.62 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.7735, allocations: 256.8 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.7735, allocations: 16.17 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.7736, allocations: 16.69 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.774, allocations: 176.2 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.774, allocations: 3.938 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.774, allocations: 5.25 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.774, allocations: 2.812 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.7745, allocations: 131.3 kB / 0.9538 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009521/0.7754, allocations: 0.8821 MB / 0.9547 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.7758, allocations: 156.4 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.776, allocations: 91.58 kB / 0.9549 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.776, allocations: 5.5 kB / 0.9549 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/0.7764, allocations: 190.9 kB / 0.9551 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.7764, allocations: 3.938 kB / 0.9551 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008932/0.7773, allocations: 286.6 kB / 0.9554 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.7774, allocations: 160.7 kB / 0.9555 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.7776, allocations: 203.2 kB / 0.9557 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.7776, allocations: 34.2 kB / 0.9558 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.7777, allocations: 131.7 kB / 0.9559 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.7777, allocations: 29.36 kB / 0.9559 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/0.7778, allocations: 58.84 kB / 0.956 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.7779, allocations: 326.7 kB / 0.9563 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.7782, allocations: 116 kB / 0.9564 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.7786, allocations: 177.9 kB / 0.9566 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.7792, allocations: 293.9 kB / 0.9569 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7792, allocations: 1.062 kB / 0.9569 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009007/0.7801, allocations: 405.2 kB / 0.9572 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.7801, allocations: 71.92 kB / 0.9573 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.7801, allocations: 1.688 kB / 0.9573 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.7802, allocations: 11.06 kB / 0.9573 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.7804, allocations: 31.47 kB / 0.9573 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7804, allocations: 5.828 kB / 0.9574 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.7808, allocations: 83.27 kB / 0.9574 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.7809, allocations: 15 kB / 0.9574 GB, free: 2.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.781, allocations: 140.5 kB / 0.9576 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.781, allocations: 16 kB / 0.9576 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.7811, allocations: 22.42 kB / 0.9576 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7811, allocations: 7.625 kB / 0.9576 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7811, allocations: 0 / 0.9576 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.7811, allocations: 1.906 kB / 0.9576 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.7813, allocations: 245.4 kB / 0.9579 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7813, allocations: 5.766 kB / 0.9579 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.7815, allocations: 33.12 kB / 0.9579 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7815, allocations: 2.656 kB / 0.9579 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.7815, allocations: 2.469 kB / 0.9579 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.7815, allocations: 5.25 kB / 0.9579 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7815, allocations: 9.219 kB / 0.9579 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.7821, allocations: 251.5 kB / 0.9582 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.7821, allocations: 94.41 kB / 0.9582 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.7822, allocations: 1.375 kB / 0.9582 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.7823, allocations: 32.28 kB / 0.9583 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.7824, allocations: 9.484 kB / 0.9583 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.7824, allocations: 16.05 kB / 0.9583 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001034/0.7825, allocations: 144.4 kB / 0.9584 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7825, allocations: 3.938 kB / 0.9584 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002832/0.7828, allocations: 44.41 kB / 0.9585 GB, free: 1.355 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008147/0.7836, allocations: 0.8011 MB / 0.9593 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.7844, allocations: 369.3 kB / 0.9596 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7844, allocations: 3.938 kB / 0.9596 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.7847, allocations: 86.78 kB / 0.9597 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.785, allocations: 43.72 kB / 0.9598 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.7891, allocations: 2.58 MB / 0.9623 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.7894, allocations: 0.7272 MB / 0.963 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.7896, allocations: 23.69 kB / 0.963 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.7897, allocations: 50.89 kB / 0.9631 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.7897, allocations: 0 / 0.9631 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.8072, allocations: 4.57 MB / 0.9675 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.8074, allocations: 217.8 kB / 0.9677 GB, free: 11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.607, allocations: 7.5 kB / 0.9677 GB, free: 11 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches