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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001159/0.001159, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001178/0.001178, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 469.4 MB / 0.7423 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 60 kB / 0.9083 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3441, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002676/0.3468, allocations: 1.044 MB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3488, allocations: 1.342 MB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.349, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.3491, allocations: 7.875 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3493, allocations: 35.72 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.3501, allocations: 252.6 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005094/0.3506, allocations: 403.2 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3508, allocations: 65.67 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.3511, allocations: 151.6 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.3515, allocations: 151.5 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.936e-05/0.3516, allocations: 32 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3517, allocations: 47.97 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.3518, allocations: 55.78 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.352, allocations: 143.3 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.3524, allocations: 295.5 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.3524, allocations: 0 / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3524, allocations: 3.938 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.3524, allocations: 4 kB / 1.068 GB, free: 11.34 MB / 0.8419 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.001292/0.3537, allocations: 0.6033 MB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.3538, allocations: 8.625 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.3539, allocations: 32.56 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.355, allocations: 374.8 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.3551, allocations: 12.38 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.3551, allocations: 20.38 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.3556, allocations: 203.1 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3557, allocations: 7.938 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.3557, allocations: 4 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3557, allocations: 4 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.3562, allocations: 143.8 kB / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.3574, allocations: 0.907 MB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.3578, allocations: 157 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.358, allocations: 76.31 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3581, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/0.3586, allocations: 171.4 kB / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3586, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0009008/0.3595, allocations: 261.1 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3596, allocations: 166.6 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.3599, allocations: 221 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.3599, allocations: 33.7 kB / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.3601, allocations: 148.1 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.3601, allocations: 35.62 kB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3602, allocations: 53.69 kB / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3604, allocations: 330.8 kB / 1.071 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.3607, allocations: 103.9 kB / 1.072 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.3611, allocations: 163.5 kB / 1.072 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.3617, allocations: 274.9 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3617, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008723/0.3626, allocations: 372.5 kB / 1.072 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.3626, allocations: 65.11 kB / 1.072 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.3627, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3627, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3629, allocations: 28.19 kB / 1.072 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3629, allocations: 11.94 kB / 1.072 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.3633, allocations: 71.75 kB / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.3634, allocations: 12 kB / 1.073 GB, free: 5.887 MB / 0.8419 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.0002354/0.3636, allocations: 153.8 kB / 1.073 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.3637, allocations: 19.81 kB / 1.073 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/0.3638, allocations: 25.23 kB / 1.073 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.3638, allocations: 0 / 1.073 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.3638, allocations: 4 kB / 1.073 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3639, allocations: 0 / 1.073 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.3641, allocations: 257.4 kB / 1.073 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.3642, allocations: 4 kB / 1.073 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3643, allocations: 27.91 kB / 1.073 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3643, allocations: 7.938 kB / 1.073 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3643, allocations: 8 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3643, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3644, allocations: 4 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.3649, allocations: 244 kB / 1.073 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.365, allocations: 88.92 kB / 1.073 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.365, allocations: 4 kB / 1.073 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.3652, allocations: 19.97 kB / 1.073 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.3652, allocations: 19.98 kB / 1.073 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3653, allocations: 4 kB / 1.073 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001425/0.3654, allocations: 160.4 kB / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3654, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000316/0.3657, allocations: 51.84 kB / 1.074 GB, free: 4.684 MB / 0.8419 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.0001975/0.3659, allocations: 119.2 kB / 1.074 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007904/0.3667, allocations: 338.5 kB / 1.074 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3668, allocations: 0 / 1.074 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.367, allocations: 92.44 kB / 1.074 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3674, allocations: 51.06 kB / 1.074 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.3683, allocations: 493.3 kB / 1.075 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.3686, allocations: 0.7476 MB / 1.075 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.3686, allocations: 19.44 kB / 1.075 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3686, allocations: 0 / 1.075 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.4877/0.8564, allocations: 3.026 MB / 1.078 GB, free: 22.43 MB / 0.8419 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