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.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.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.0009653/0.0009652, allocations: 84.38 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.001017/0.001017, 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.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.398 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.357/2.357, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005092/0.0005093, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.828, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001183/0.8293, allocations: 0.657 MB / 0.9545 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.8312, allocations: 1.27 MB / 0.9557 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.8314, allocations: 1.156 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.8315, allocations: 13.05 kB / 0.9558 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.8317, allocations: 23.47 kB / 0.9558 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.8325, allocations: 218.4 kB / 0.956 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.8329, allocations: 265.9 kB / 0.9562 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.8331, allocations: 36.81 kB / 0.9563 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.8332, allocations: 98.08 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.8333, allocations: 88.23 kB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.8334, allocations: 12.59 kB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.8335, allocations: 29.09 kB / 0.9565 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.8335, allocations: 25.17 kB / 0.9565 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.623e-05/0.8336, allocations: 58.67 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.8339, allocations: 249.1 kB / 0.9568 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.8339, allocations: 1.469 kB / 0.9568 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.534e-06/0.8339, allocations: 0 / 0.9568 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.8339, allocations: 4 kB / 0.9568 GB, free: 5.844 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.0008122/0.8347, allocations: 0.5361 MB / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.8348, allocations: 12.94 kB / 0.9574 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.8348, allocations: 41.83 kB / 0.9574 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.222e-05/0.8349, allocations: 26.17 kB / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.8352, allocations: 255.9 kB / 0.9577 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.8352, allocations: 11.09 kB / 0.9577 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.8353, allocations: 12.75 kB / 0.9577 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.8357, allocations: 192.1 kB / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8357, allocations: 0 / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.8357, allocations: 5.406 kB / 0.9579 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.8357, allocations: 7.625 kB / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.8362, allocations: 163.5 kB / 0.958 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009347/0.8371, allocations: 0.9009 MB / 0.9589 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.8375, allocations: 178.3 kB / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.8377, allocations: 102.4 kB / 0.9592 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.8378, allocations: 16.89 kB / 0.9592 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.8381, allocations: 194.4 kB / 0.9594 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.8382, allocations: 0 / 0.9594 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008857/0.839, allocations: 335.5 kB / 0.9597 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.8391, allocations: 161.5 kB / 0.9599 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.8393, allocations: 199.4 kB / 0.9601 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.8394, allocations: 31.2 kB / 0.9601 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.8394, allocations: 135.2 kB / 0.9602 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.8395, allocations: 23.83 kB / 0.9602 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.8395, allocations: 8.125 kB / 0.9602 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.8396, allocations: 331 kB / 0.9606 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.8399, allocations: 134.1 kB / 0.9607 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.8402, allocations: 200.7 kB / 0.9609 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.8406, allocations: 187.9 kB / 0.9611 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8406, allocations: 1.031 kB / 0.9611 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008637/0.8415, allocations: 441.5 kB / 0.9615 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.8415, allocations: 71.12 kB / 0.9615 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.8416, allocations: 1.969 kB / 0.9616 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.8416, allocations: 6.984 kB / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.8418, allocations: 41.53 kB / 0.9616 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.8418, allocations: 7.109 kB / 0.9616 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.8422, allocations: 101.2 kB / 0.9617 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.8423, allocations: 22 kB / 0.9617 GB, free: 1.816 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,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.8424, allocations: 139.8 kB / 0.9619 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.8424, allocations: 20.66 kB / 0.9619 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.8425, allocations: 26.08 kB / 0.9619 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8425, allocations: 2.312 kB / 0.9619 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8425, allocations: 1.312 kB / 0.9619 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.8425, allocations: 5.047 kB / 0.9619 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.8427, allocations: 245.4 kB / 0.9621 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.8427, allocations: 2.125 kB / 0.9621 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.8429, allocations: 36.31 kB / 0.9622 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8429, allocations: 2.312 kB / 0.9622 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.8429, allocations: 2.188 kB / 0.9622 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.8429, allocations: 2.281 kB / 0.9622 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.8429, allocations: 5.094 kB / 0.9622 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.8435, allocations: 292 kB / 0.9625 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.8435, allocations: 93.27 kB / 0.9626 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.8436, allocations: 6.438 kB / 0.9626 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.8437, allocations: 31.19 kB / 0.9626 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.8438, allocations: 21.78 kB / 0.9626 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.8438, allocations: 12.2 kB / 0.9626 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001089/0.8439, allocations: 147.5 kB / 0.9628 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8439, allocations: 0 / 0.9628 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002968/0.8442, allocations: 48.25 kB / 0.9628 GB, free: 0.9336 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 (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.0008003/0.845, allocations: 0.828 MB / 0.9636 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007971/0.8458, allocations: 402.1 kB / 0.964 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8458, allocations: 5.125 kB / 0.964 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.8462, allocations: 104.7 kB / 0.9641 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.8465, allocations: 41.88 kB / 0.9641 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.8495, allocations: 1.41 MB / 0.9655 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.8498, allocations: 0.7306 MB / 0.9662 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.798e-05/0.8499, allocations: 27.78 kB / 0.9663 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.85, allocations: 46.2 kB / 0.9663 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.85, allocations: 1.062 kB / 0.9663 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.8692, allocations: 4.522 MB / 0.9707 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.8694, allocations: 216.3 kB / 0.9709 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.625, allocations: 3.938 kB / 0.9709 GB, free: 11.76 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat does not exist to compare? outputFormat=mat