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.0009742/0.0009743, allocations: 92.78 kB / 16.02 MB, free: 80 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.001188/0.001188, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.48/1.48, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.86/2.86, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000624/0.000624, allocations: 10.44 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3292, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001268/0.3305, allocations: 0.727 MB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.3326, allocations: 1.506 MB / 1.062 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3328, allocations: 0 / 1.062 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.3329, allocations: 23.73 kB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.3331, allocations: 39.7 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3343, allocations: 431.5 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.3348, allocations: 451.8 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.3351, allocations: 123.7 kB / 1.063 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.3353, allocations: 155.5 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.3356, allocations: 135.4 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.386e-05/0.3357, allocations: 20 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3358, allocations: 35.97 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.3358, allocations: 43.84 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.336, allocations: 177 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.3365, allocations: 383.2 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3365, allocations: 0 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3365, allocations: 4 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.3365, allocations: 3.938 kB / 1.063 GB, free: 0.7227 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.0008996/0.3374, allocations: 0.6071 MB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3375, allocations: 11.97 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.3376, allocations: 40.73 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3387, allocations: 370.8 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.3388, allocations: 28.73 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/0.3388, allocations: 28.38 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.3393, allocations: 232.9 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3393, allocations: 7.938 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.3393, allocations: 11.98 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3393, allocations: 4 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.3396, allocations: 151.3 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3409, allocations: 0.7691 MB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3412, allocations: 182.4 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.3415, allocations: 206.2 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.3415, allocations: 3.938 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.3419, allocations: 252.5 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 2.505e-06/0.3419, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0007178/0.3426, allocations: 423 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.3427, allocations: 106.8 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.343, allocations: 290.3 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.3431, allocations: 41.7 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3433, allocations: 152.7 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.3433, allocations: 67.19 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3435, allocations: 69.67 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3436, allocations: 338.8 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.344, allocations: 200.3 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.3444, allocations: 320.3 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.3451, allocations: 0.5233 MB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3451, allocations: 0 / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001119/0.3462, allocations: 0.7095 MB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.3463, allocations: 134.9 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3464, allocations: 7.938 kB / 1.07 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3464, allocations: 4 kB / 1.07 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.3465, allocations: 19.92 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3465, allocations: 4 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/0.3472, allocations: 171.5 kB / 1.07 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3474, allocations: 75.86 kB / 1.07 GB, free: 9.793 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],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.0002623/0.3476, allocations: 197.6 kB / 1.07 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.3477, allocations: 31.61 kB / 1.07 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.3483, allocations: 352.8 kB / 1.07 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3483, allocations: 4 kB / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3483, allocations: 4 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3483, allocations: 0 / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00089/0.3492, allocations: 0.725 MB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3492, allocations: 4 kB / 1.071 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.3493, allocations: 23.86 kB / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3493, allocations: 0 / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3493, allocations: 8 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3493, allocations: 3.938 kB / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3493, allocations: 0 / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.3498, allocations: 407 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.3499, allocations: 116.6 kB / 1.072 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3499, allocations: 12 kB / 1.072 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3501, allocations: 19.86 kB / 1.072 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.3501, allocations: 19.97 kB / 1.072 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3502, allocations: 12 kB / 1.072 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000187/0.3503, allocations: 190 kB / 1.072 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3504, allocations: 0 / 1.072 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004721/0.3508, allocations: 83.98 kB / 1.072 GB, free: 7.508 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 (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.0002509/0.3511, allocations: 125.4 kB / 1.072 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.3521, allocations: 0.6579 MB / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3521, allocations: 0 / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.3524, allocations: 147.8 kB / 1.073 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.3529, allocations: 68.94 kB / 1.073 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.3539, allocations: 0.605 MB / 1.073 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3542, allocations: 0.7651 MB / 1.074 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.3543, allocations: 39.42 kB / 1.074 GB, free: 5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.193e-06/0.3543, allocations: 0 / 1.074 GB, free: 5 MB / 0.8262 GB Notification: Performance of Templates: time 0.007535/0.3619, allocations: 4.354 MB / 1.078 GB, free: 0.6836 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/jenkins1/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