Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008103/0.00081, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008172/0.0008172, allocations: 172.7 kB / 15.95 MB, free: 208 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.462/1.462, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 11.25 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3418, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001231/0.343, allocations: 0.704 MB / 1.059 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3448, allocations: 1.435 MB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.3449, allocations: 4 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.345, allocations: 15.8 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.3451, allocations: 31.78 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.3461, allocations: 408.7 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000357/0.3465, allocations: 411.8 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.3467, allocations: 101.9 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.3468, allocations: 151.6 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.347, allocations: 139.4 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.3471, allocations: 20 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.056e-05/0.3472, allocations: 27.98 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.3472, allocations: 39.8 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.3473, allocations: 81.58 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.3477, allocations: 379.2 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3477, allocations: 0 / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.288e-06/0.3477, allocations: 4 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3477, allocations: 0 / 1.062 GB, free: 1.414 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007284/0.3484, allocations: 0.6031 MB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3485, allocations: 8.031 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.3486, allocations: 39.62 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.3495, allocations: 366.7 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.3495, allocations: 20.38 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.3496, allocations: 39.94 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.35, allocations: 232.5 kB / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.35, allocations: 0 / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.35, allocations: 8 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.35, allocations: 11.94 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.3503, allocations: 139.3 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.3514, allocations: 0.7733 MB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.3517, allocations: 186.4 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.352, allocations: 218.4 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.352, allocations: 0 / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.3524, allocations: 248.5 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.273e-06/0.3524, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.000655/0.353, allocations: 419.3 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.3531, allocations: 110.8 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.3534, allocations: 286.4 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.3535, allocations: 45.7 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3536, allocations: 156.6 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.3537, allocations: 59.28 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.3537, allocations: 16 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3539, allocations: 338.8 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.3542, allocations: 200.2 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.3546, allocations: 320.3 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.355, allocations: 328 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.355, allocations: 4 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009909/0.356, allocations: 0.713 MB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.4e-05/0.3561, allocations: 126.7 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3561, allocations: 4 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3562, allocations: 8 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.3562, allocations: 19.92 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3563, allocations: 12.34 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.3569, allocations: 171.5 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.536e-05/0.357, allocations: 71.86 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.u[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0001966/0.3572, allocations: 185.7 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.3572, allocations: 23.72 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005152/0.3577, allocations: 357 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3578, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3578, allocations: 3.984 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3578, allocations: 7.953 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008125/0.3586, allocations: 0.717 MB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3586, allocations: 4 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-05/0.3587, allocations: 27.8 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3587, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.3587, allocations: 11.95 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3587, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3587, allocations: 4 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.3592, allocations: 407 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.3593, allocations: 112.7 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.3593, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.3594, allocations: 19.94 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3595, allocations: 19.97 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3595, allocations: 12 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001791/0.3597, allocations: 186 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.683e-06/0.3597, allocations: 4 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000363/0.3601, allocations: 87.94 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001747/0.3603, allocations: 129.5 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007813/0.361, allocations: 0.6625 MB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3611, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.3612, allocations: 135.8 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.3616, allocations: 64.45 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.3623, allocations: 0.5554 MB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3626, allocations: 0.7651 MB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.3628, allocations: 66.92 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.3628, allocations: 31.44 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3628, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.007698/0.3705, allocations: 4.566 MB / 1.077 GB, free: 1.535 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches