Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008109/0.0008111, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008594/0.0008594, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.996/2.996, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004284, allocations: 12.52 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3404, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.000847/0.3412, allocations: 425.7 kB / 1.058 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3427, allocations: 1.229 MB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.3428, allocations: 0 / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.22e-05/0.3429, allocations: 7.922 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.984e-05/0.3429, allocations: 7.938 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006443/0.3436, allocations: 218 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.3438, allocations: 195.6 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.344, allocations: 31.97 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3441, allocations: 87.81 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.3444, allocations: 91.75 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.3444, allocations: 12 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.3445, allocations: 20 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.3445, allocations: 27.91 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.3446, allocations: 45.64 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.3448, allocations: 155.8 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3448, allocations: 3.938 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3448, allocations: 4 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3448, allocations: 0 / 1.061 GB, free: 2.754 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004786/0.3453, allocations: 462.3 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3453, allocations: 8.031 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.3454, allocations: 19.81 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.3459, allocations: 266.3 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.346, allocations: 12 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.346, allocations: 16 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.3462, allocations: 130.4 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3462, allocations: 4 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3463, allocations: 3.938 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3463, allocations: 0 / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/0.3463, allocations: 59.86 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.347, allocations: 0.6572 MB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.053e-05/0.347, allocations: 45.09 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.347, allocations: 17.83 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.3471, allocations: 4 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.3472, allocations: 92.94 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3472, allocations: 4 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0001817/0.3474, allocations: 93.56 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3475, allocations: 89.05 kB / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3476, allocations: 176 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3476, allocations: 29.7 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3477, allocations: 123.8 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.3477, allocations: 7.906 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.3478, allocations: 8 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3479, allocations: 326.8 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.348, allocations: 47.97 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3481, allocations: 100.1 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.3483, allocations: 119.3 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3483, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003652/0.3486, allocations: 265.1 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.3487, allocations: 59.41 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3487, allocations: 4.25 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3487, allocations: 11.98 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.8e-05/0.3487, allocations: 11.94 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3488, allocations: 3.984 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.3491, allocations: 75.84 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.3491, allocations: 15.94 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001294/0.3492, allocations: 145.8 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.3493, allocations: 11.84 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.3493, allocations: 12.25 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3493, allocations: 4 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3493, allocations: 0 / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3493, allocations: 0 / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3495, allocations: 213.6 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3495, allocations: 3.938 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-06/0.3495, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3496, allocations: 7.984 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3496, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3496, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3496, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.3497, allocations: 125.7 kB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.3498, allocations: 81.02 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3498, allocations: 8 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.3498, allocations: 0 / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.3499, allocations: 7.984 kB / 1.064 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3499, allocations: 4 kB / 1.064 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.184e-05/0.35, allocations: 120.1 kB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.35, allocations: 4 kB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002441/0.3502, allocations: 31.91 kB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001674/0.3504, allocations: 107.2 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.3507, allocations: 234.7 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3507, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.3508, allocations: 19.94 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.351, allocations: 29.12 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.3515, allocations: 260.9 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3518, allocations: 0.7121 MB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.876e-05/0.3519, allocations: 12.88 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.3519, allocations: 15.38 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of SimCode: time 1.463e-06/0.3519, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.004304/0.3562, allocations: 1.708 MB / 1.068 GB, free: 11.09 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches