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) 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 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 114 kB / 16.42 MB, free: 6.5 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.001799/0.001799, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.428/1.428, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.703/2.703, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 67.89 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9258/0.9274, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002837/0.9303, allocations: 0.996 MB / 1.227 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002326/0.9327, allocations: 1.331 MB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.9328, allocations: 3.938 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.933, allocations: 15.8 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.9332, allocations: 55.62 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.9341, allocations: 274.2 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006787/0.9348, allocations: 395.3 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.935, allocations: 77.48 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.9353, allocations: 151.6 kB / 1.23 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.9356, allocations: 143.5 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.9357, allocations: 36 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.9359, allocations: 55.92 kB / 1.23 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.9361, allocations: 63.81 kB / 1.23 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.9362, allocations: 131.4 kB / 1.23 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.9368, allocations: 403.1 kB / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9368, allocations: 4 kB / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9368, allocations: 0 / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.9368, allocations: 0 / 1.23 GB, free: 9.402 MB / 0.9512 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.001154/0.938, allocations: 0.6225 MB / 1.231 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.938, allocations: 8.031 kB / 1.231 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.9382, allocations: 32.8 kB / 1.231 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.9392, allocations: 374.9 kB / 1.231 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.9392, allocations: 12.38 kB / 1.231 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.9393, allocations: 24.36 kB / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.9398, allocations: 202.4 kB / 1.232 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.9398, allocations: 7.938 kB / 1.232 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.9398, allocations: 8 kB / 1.232 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.9398, allocations: 4 kB / 1.232 GB, free: 8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.9403, allocations: 139.8 kB / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.9416, allocations: 0.9109 MB / 1.233 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.942, allocations: 153 kB / 1.233 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.9422, allocations: 80.23 kB / 1.233 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.9422, allocations: 7.938 kB / 1.233 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/0.9427, allocations: 179.5 kB / 1.233 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.9427, allocations: 0 / 1.233 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.000899/0.9436, allocations: 253.3 kB / 1.233 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/0.9438, allocations: 166.6 kB / 1.233 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.9441, allocations: 221 kB / 1.234 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.9441, allocations: 33.7 kB / 1.234 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.9443, allocations: 152.3 kB / 1.234 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.9443, allocations: 27.8 kB / 1.234 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.9444, allocations: 57.69 kB / 1.234 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9446, allocations: 330.8 kB / 1.234 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.9449, allocations: 107.9 kB / 1.234 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.9453, allocations: 173.3 kB / 1.234 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.9459, allocations: 270.9 kB / 1.235 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9459, allocations: 0 / 1.235 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008497/0.9467, allocations: 376.6 kB / 1.235 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.9468, allocations: 64.95 kB / 1.235 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.9468, allocations: 4 kB / 1.235 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.9469, allocations: 4 kB / 1.235 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.947, allocations: 28.19 kB / 1.235 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.9471, allocations: 15.92 kB / 1.235 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.9475, allocations: 87.78 kB / 1.235 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.9476, allocations: 15.98 kB / 1.235 GB, free: 3.867 MB / 0.9512 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.0001756/0.9478, allocations: 150.3 kB / 1.235 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.9478, allocations: 31.8 kB / 1.235 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.9479, allocations: 17.7 kB / 1.235 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.9479, allocations: 4 kB / 1.236 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9479, allocations: 0 / 1.236 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.948, allocations: 96.95 kB / 1.236 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.948, allocations: 11.97 kB / 1.236 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.9481, allocations: 15.98 kB / 1.236 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.9482, allocations: 27.84 kB / 1.236 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008896/0.9491, allocations: 0.5721 MB / 1.236 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007691/0.9499, allocations: 0.6443 MB / 1.237 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002493/0.9501, allocations: 79.86 kB / 1.237 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001393/0.9503, allocations: 164.5 kB / 1.237 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of Backend: time 5.11e-07/0.9503, allocations: 0 / 1.237 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.9515, allocations: 357.1 kB / 1.237 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001071/0.9526, allocations: 0.8129 MB / 1.238 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of Templates: time 0.008865/0.9615, allocations: 3.43 MB / 1.242 GB, free: 13.37 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches