Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.478/2.478, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 183.9 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 99.92 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 14.3 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3625, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.5787, allocations: 150.7 MB / 1.376 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.579, allocations: 75.94 kB / 1.377 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.5946, allocations: 4.888 MB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5946, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.5946, allocations: 4 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008751/0.5955, allocations: 0.5879 MB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.5956, allocations: 8.562 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/0.5956, allocations: 46.55 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.5957, allocations: 27.72 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.5962, allocations: 293.5 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.5963, allocations: 12 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.5963, allocations: 20 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.5968, allocations: 231.3 kB / 1.383 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5969, allocations: 7.938 kB / 1.383 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.5969, allocations: 4 kB / 1.383 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.5969, allocations: 7.984 kB / 1.383 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.5974, allocations: 191.8 kB / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.5987, allocations: 0.989 MB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.5991, allocations: 181 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.5991, allocations: 8 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.5995, allocations: 199.5 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.5995, allocations: 0 / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0009975/0.6005, allocations: 337.4 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.6006, allocations: 166.1 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.6008, allocations: 204.3 kB / 1.385 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.6009, allocations: 33.7 kB / 1.385 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.601, allocations: 160.1 kB / 1.385 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.601, allocations: 27.61 kB / 1.385 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.6011, allocations: 8 kB / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6012, allocations: 330.8 kB / 1.385 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.6016, allocations: 135.9 kB / 1.385 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.602, allocations: 221.3 kB / 1.386 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.6024, allocations: 199.3 kB / 1.386 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6024, allocations: 0 / 1.386 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009336/0.6034, allocations: 436.7 kB / 1.386 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/0.6034, allocations: 67.39 kB / 1.386 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6035, allocations: 4 kB / 1.386 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.6035, allocations: 4 kB / 1.386 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.6037, allocations: 35.97 kB / 1.386 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.6037, allocations: 7.938 kB / 1.386 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.6042, allocations: 123.7 kB / 1.386 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.6043, allocations: 15.98 kB / 1.386 GB, free: 8.129 MB / 0.8855 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.0001597/0.6044, allocations: 147.1 kB / 1.387 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.6045, allocations: 15.81 kB / 1.387 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.6045, allocations: 25.23 kB / 1.387 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.6045, allocations: 0 / 1.387 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6046, allocations: 8 kB / 1.387 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6046, allocations: 0 / 1.387 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.6048, allocations: 273.5 kB / 1.387 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6048, allocations: 0 / 1.387 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.605, allocations: 35.91 kB / 1.387 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.605, allocations: 4 kB / 1.387 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.605, allocations: 0 / 1.387 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.605, allocations: 8 kB / 1.387 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.605, allocations: 0 / 1.387 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.6057, allocations: 342.8 kB / 1.387 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.6058, allocations: 100.8 kB / 1.387 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.6059, allocations: 4 kB / 1.387 GB, free: 7.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.6061, allocations: 31.97 kB / 1.387 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.6062, allocations: 19.97 kB / 1.387 GB, free: 7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.6062, allocations: 4 kB / 1.387 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000178/0.6064, allocations: 168.4 kB / 1.388 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6064, allocations: 0 / 1.388 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003936/0.6068, allocations: 59.84 kB / 1.388 GB, free: 6.773 MB / 0.8855 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.001499/0.6083, allocations: 1.16 MB / 1.389 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009209/0.6092, allocations: 406.7 kB / 1.389 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6092, allocations: 0 / 1.389 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.6096, allocations: 108.5 kB / 1.389 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.61, allocations: 42.64 kB / 1.389 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.6119, allocations: 1.92 MB / 1.391 GB, free: 2.965 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.6123, allocations: 0.7555 MB / 1.392 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.6124, allocations: 21.06 kB / 1.392 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.6125, allocations: 59.42 kB / 1.392 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of SimCode: time 7.82e-07/0.6125, allocations: 0 / 1.392 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.6309, allocations: 5.164 MB / 1.397 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.6312, allocations: 206 kB / 1.397 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.47, allocations: 0 / 1.397 GB, free: 12.9 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat does not exist to compare? outputFormat=mat