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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 105.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.11/3.11, allocations: 497.2 MB / 0.7812 GB, free: 12.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 1.134 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9566/0.9586, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002095/0.9607, allocations: 1.016 MB / 1.305 GB, free: 31.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.9623, allocations: 1.333 MB / 1.306 GB, free: 30.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.9623, allocations: 6.875 kB / 1.306 GB, free: 30.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.9625, allocations: 19.47 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.9626, allocations: 47.7 kB / 1.306 GB, free: 30.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.9633, allocations: 272.8 kB / 1.307 GB, free: 30.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.9636, allocations: 382 kB / 1.307 GB, free: 30.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.9637, allocations: 52.72 kB / 1.307 GB, free: 30.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.9639, allocations: 149.3 kB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.964, allocations: 138.2 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.9641, allocations: 33.72 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.845e-05/0.9642, allocations: 50.09 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.9643, allocations: 65.95 kB / 1.307 GB, free: 29.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.9644, allocations: 142 kB / 1.308 GB, free: 29.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.9647, allocations: 401.1 kB / 1.308 GB, free: 29.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9647, allocations: 2.719 kB / 1.308 GB, free: 29.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9647, allocations: 0 / 1.308 GB, free: 29.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9647, allocations: 0 / 1.308 GB, free: 29.68 MB / 1.061 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.0008053/0.9655, allocations: 0.6232 MB / 1.309 GB, free: 29.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.9655, allocations: 8.812 kB / 1.309 GB, free: 29.13 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.9656, allocations: 55.39 kB / 1.309 GB, free: 29.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.9656, allocations: 31.41 kB / 1.309 GB, free: 29.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.9665, allocations: 369.4 kB / 1.309 GB, free: 28.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.9665, allocations: 13.25 kB / 1.309 GB, free: 28.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.9666, allocations: 27.73 kB / 1.309 GB, free: 28.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.9669, allocations: 207.2 kB / 1.309 GB, free: 28.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9669, allocations: 0 / 1.309 GB, free: 28.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.967, allocations: 6.594 kB / 1.309 GB, free: 28.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.967, allocations: 6.625 kB / 1.309 GB, free: 28.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.9674, allocations: 138.4 kB / 1.309 GB, free: 28.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008926/0.9683, allocations: 0.9125 MB / 1.31 GB, free: 27.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.9685, allocations: 146.7 kB / 1.31 GB, free: 27.78 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.9687, allocations: 82.7 kB / 1.31 GB, free: 27.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.9687, allocations: 0 / 1.31 GB, free: 27.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/0.9691, allocations: 174.2 kB / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.9691, allocations: 0 / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0007145/0.9698, allocations: 260.8 kB / 1.311 GB, free: 27.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.9698, allocations: 168 kB / 1.311 GB, free: 27.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.97, allocations: 219.4 kB / 1.311 GB, free: 27.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.97, allocations: 39.14 kB / 1.311 GB, free: 27.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.9701, allocations: 152.9 kB / 1.311 GB, free: 27.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.9701, allocations: 33.8 kB / 1.311 GB, free: 26.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/0.9702, allocations: 58.17 kB / 1.312 GB, free: 26.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.9703, allocations: 336 kB / 1.312 GB, free: 26.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.9705, allocations: 96.69 kB / 1.312 GB, free: 26.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.9708, allocations: 173.8 kB / 1.312 GB, free: 26.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.9713, allocations: 275.3 kB / 1.312 GB, free: 26.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9713, allocations: 2.375 kB / 1.312 GB, free: 26.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006953/0.972, allocations: 376.5 kB / 1.313 GB, free: 26.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.972, allocations: 67.27 kB / 1.313 GB, free: 26.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.972, allocations: 3.25 kB / 1.313 GB, free: 26.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.972, allocations: 2.781 kB / 1.313 GB, free: 26.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.9722, allocations: 29.98 kB / 1.313 GB, free: 26.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.9722, allocations: 2.688 kB / 1.313 GB, free: 26.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.9726, allocations: 84.08 kB / 1.313 GB, free: 26.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.9726, allocations: 16.25 kB / 1.313 GB, free: 26.05 MB / 1.061 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.0001138/0.9728, allocations: 158.9 kB / 1.313 GB, free: 25.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.9728, allocations: 20.42 kB / 1.313 GB, free: 25.9 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.9728, allocations: 26.2 kB / 1.313 GB, free: 25.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9728, allocations: 2.875 kB / 1.313 GB, free: 25.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.9729, allocations: 2.906 kB / 1.313 GB, free: 25.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9729, allocations: 3.938 kB / 1.313 GB, free: 25.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.973, allocations: 261.8 kB / 1.313 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.973, allocations: 6.844 kB / 1.313 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.9731, allocations: 22.66 kB / 1.313 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.9731, allocations: 2.25 kB / 1.313 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.9732, allocations: 9.109 kB / 1.313 GB, free: 25.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.9732, allocations: 6.312 kB / 1.313 GB, free: 25.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9732, allocations: 0 / 1.313 GB, free: 25.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.9736, allocations: 245.8 kB / 1.314 GB, free: 25.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.9736, allocations: 99.8 kB / 1.314 GB, free: 25.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.9737, allocations: 2.594 kB / 1.314 GB, free: 25.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.9738, allocations: 21.17 kB / 1.314 GB, free: 25.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.9738, allocations: 12.69 kB / 1.314 GB, free: 25.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.9739, allocations: 10.81 kB / 1.314 GB, free: 25.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.544e-05/0.9739, allocations: 164.6 kB / 1.314 GB, free: 25.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9739, allocations: 0 / 1.314 GB, free: 25.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002802/0.9742, allocations: 54.23 kB / 1.314 GB, free: 25.25 MB / 1.061 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.0006709/0.9749, allocations: 0.7765 MB / 1.315 GB, free: 24.58 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006067/0.9755, allocations: 312.5 kB / 1.315 GB, free: 24.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9755, allocations: 0 / 1.315 GB, free: 24.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.9757, allocations: 80.28 kB / 1.315 GB, free: 24.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.9761, allocations: 53.09 kB / 1.315 GB, free: 24.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.979, allocations: 2.573 MB / 1.318 GB, free: 22.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.9792, allocations: 0.7466 MB / 1.318 GB, free: 21.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.9793, allocations: 39.48 kB / 1.318 GB, free: 21.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.9794, allocations: 64.89 kB / 1.319 GB, free: 21.8 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.9794, allocations: 0 / 1.319 GB, free: 21.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/1.011, allocations: 5.374 MB / 1.324 GB, free: 21.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/9.369, allocations: 11.5 kB / 1.324 GB, free: 21.17 MB / 1.061 GB " [Timeout remaining time 291] (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/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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.904538957867771]