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 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.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.001773/0.001774, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 192 kB / 16.53 MB, free: 6.391 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 66.84 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3953, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002765/0.3981, allocations: 1.023 MB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.4003, allocations: 1.466 MB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.4005, allocations: 3.938 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.4006, allocations: 27.67 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.4007, allocations: 39.62 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.402, allocations: 463.6 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.4025, allocations: 0.531 MB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.4028, allocations: 135.4 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.4031, allocations: 199.6 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.4034, allocations: 175.4 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4035, allocations: 51.98 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.4036, allocations: 63.98 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.4037, allocations: 59.84 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.4039, allocations: 191.2 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.4044, allocations: 0.5105 MB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.4044, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4044, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.4045, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 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.0008097/0.4053, allocations: 0.6889 MB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4053, allocations: 12.03 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.4054, allocations: 44.55 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009517/0.4064, allocations: 356.1 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.4064, allocations: 28.73 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.4065, allocations: 28.38 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.4069, allocations: 241.1 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4069, allocations: 3.938 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.4069, allocations: 7.984 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4069, allocations: 4 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.4072, allocations: 151.2 kB / 1.075 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.4083, allocations: 0.7729 MB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.4085, allocations: 186.4 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.4088, allocations: 214.3 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.4088, allocations: 0 / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.4091, allocations: 245 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.253e-06/0.4091, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0006431/0.4098, allocations: 429.6 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4099, allocations: 106.8 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.4101, allocations: 282.5 kB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.4102, allocations: 37.7 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.4103, allocations: 164.6 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.4104, allocations: 63.28 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.4106, allocations: 133.5 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4107, allocations: 350.7 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.4111, allocations: 200.7 kB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.4115, allocations: 315.9 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.4121, allocations: 0.5232 MB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4121, allocations: 4 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001086/0.4132, allocations: 0.7205 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/0.4133, allocations: 122.8 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4133, allocations: 4 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.4133, allocations: 8 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.4134, allocations: 23.92 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4135, allocations: 4 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.4141, allocations: 131.9 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.4142, allocations: 67.86 kB / 1.079 GB, free: 14.41 MB / 0.8419 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],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.4144, allocations: 199.9 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.4145, allocations: 23.72 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.415, allocations: 360.5 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.415, allocations: 4 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.415, allocations: 3.938 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4151, allocations: 3.984 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008641/0.4159, allocations: 0.7129 MB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.4159, allocations: 7.969 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.416, allocations: 15.94 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.416, allocations: 4 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.416, allocations: 7.984 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4161, allocations: 7.938 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4161, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.4165, allocations: 415.6 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.4166, allocations: 108.6 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.4166, allocations: 11.98 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4168, allocations: 15.94 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.4168, allocations: 23.91 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.4169, allocations: 8 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001755/0.417, allocations: 193.9 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.21e-07/0.417, allocations: 0 / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003933/0.4174, allocations: 84 kB / 1.082 GB, free: 12.12 MB / 0.8419 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 (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.0001943/0.4177, allocations: 131.8 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000957/0.4186, allocations: 0.6847 MB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4186, allocations: 0.8125 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.4189, allocations: 143.8 kB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.4194, allocations: 60.52 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/0.4203, allocations: 0.5244 MB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4207, allocations: 0.7648 MB / 1.084 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000165/0.4209, allocations: 66.86 kB / 1.084 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.4209, allocations: 35.42 kB / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4209, allocations: 0 / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of Templates: time 0.0115/0.4324, allocations: 4.988 MB / 1.089 GB, free: 4.676 MB / 0.8419 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