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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001545/0.001545, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.001583/0.001583, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 70.88 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3495, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002554/0.3521, allocations: 1.008 MB / 1.028 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3541, allocations: 1.335 MB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.3542, allocations: 4 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.3545, allocations: 15.75 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.3546, allocations: 39.64 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.3554, allocations: 282 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.3559, allocations: 391.3 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.3561, allocations: 69.64 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.3562, allocations: 159.6 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.3564, allocations: 131.5 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.3565, allocations: 36 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3566, allocations: 55.98 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.599e-05/0.3567, allocations: 59.81 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.3569, allocations: 131.4 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.3573, allocations: 410.6 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3573, allocations: 4 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3573, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3574, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 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.001084/0.3584, allocations: 0.6072 MB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3585, allocations: 8.031 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.3586, allocations: 36.56 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/0.3595, allocations: 374.8 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3595, allocations: 16.38 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.3596, allocations: 28.34 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.36, allocations: 203.4 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.36, allocations: 7.938 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3601, allocations: 7.938 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3601, allocations: 4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.3605, allocations: 147.8 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3617, allocations: 0.907 MB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.362, allocations: 149 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.3622, allocations: 92.23 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.3623, allocations: 0 / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004169/0.3627, allocations: 163.5 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.3627, allocations: 0 / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0008192/0.3635, allocations: 257.4 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.3636, allocations: 162.2 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3639, allocations: 224.9 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.3639, allocations: 33.7 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.364, allocations: 152.3 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3641, allocations: 31.64 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.3642, allocations: 61.67 kB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3643, allocations: 330.8 kB / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.3647, allocations: 99.91 kB / 1.035 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.365, allocations: 169.4 kB / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.3655, allocations: 278.9 kB / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3656, allocations: 0 / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008633/0.3664, allocations: 380.6 kB / 1.035 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.3665, allocations: 59.41 kB / 1.036 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3665, allocations: 7.938 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3665, allocations: 4 kB / 1.036 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.3667, allocations: 35.91 kB / 1.036 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3667, allocations: 3.938 kB / 1.036 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.3672, allocations: 91.83 kB / 1.036 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.3672, allocations: 15.98 kB / 1.036 GB, free: 8.418 MB / 0.8106 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.0002143/0.3675, allocations: 155.8 kB / 1.036 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.3675, allocations: 15.81 kB / 1.036 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.3676, allocations: 25.23 kB / 1.036 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3676, allocations: 0 / 1.036 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3676, allocations: 4 kB / 1.036 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.3676, allocations: 4 kB / 1.036 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.3678, allocations: 261.4 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3678, allocations: 4 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.368, allocations: 23.97 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.368, allocations: 480 / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.368, allocations: 4 kB / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.368, allocations: 0 / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.368, allocations: 4 kB / 1.036 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.3686, allocations: 248 kB / 1.036 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.3686, allocations: 96.84 kB / 1.036 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3687, allocations: 7.984 kB / 1.036 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3688, allocations: 11.98 kB / 1.037 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.3689, allocations: 15.98 kB / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3689, allocations: 11.98 kB / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000126/0.369, allocations: 156.4 kB / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.369, allocations: 8 kB / 1.037 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002982/0.3693, allocations: 59.83 kB / 1.037 GB, free: 7.219 MB / 0.8106 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.0001719/0.3695, allocations: 113.8 kB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007531/0.3703, allocations: 338.6 kB / 1.037 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3703, allocations: 4 kB / 1.037 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.3705, allocations: 75.88 kB / 1.037 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3709, allocations: 60.88 kB / 1.037 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.3716, allocations: 383.2 kB / 1.038 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3719, allocations: 0.7437 MB / 1.038 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.372, allocations: 33.53 kB / 1.038 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.3721, allocations: 27.44 kB / 1.038 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3721, allocations: 0 / 1.038 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of Templates: time 0.006523/0.3786, allocations: 3.162 MB / 1.042 GB, free: 2.254 MB / 0.8106 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 -s cvode -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