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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001238/0.001238, allocations: 102.4 kB / 16.27 MB, free: 6.414 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.001233/0.001233, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 72.36 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3069, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002371/0.3093, allocations: 1.02 MB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3113, allocations: 1.47 MB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.3114, allocations: 4 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.3116, allocations: 23.67 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.3117, allocations: 35.66 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3129, allocations: 469.6 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.3135, allocations: 0.531 MB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.3138, allocations: 135.7 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.314, allocations: 199.6 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.3143, allocations: 167.4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.3144, allocations: 48 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.3145, allocations: 64 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.3146, allocations: 71.81 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.3149, allocations: 195.2 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.3154, allocations: 0.4988 MB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3154, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3154, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.3154, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 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.0008935/0.3163, allocations: 0.6928 MB / 1.07 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3164, allocations: 12.62 kB / 1.07 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.3165, allocations: 40.56 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.3175, allocations: 364.1 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.3175, allocations: 20.75 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.3176, allocations: 40.36 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.318, allocations: 229.1 kB / 1.07 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.318, allocations: 3.938 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.3181, allocations: 12 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3181, allocations: 4 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.3183, allocations: 143.2 kB / 1.071 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.3195, allocations: 0.7692 MB / 1.071 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.3198, allocations: 190.5 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.3201, allocations: 208.7 kB / 1.072 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.3201, allocations: 4 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.3204, allocations: 247.8 kB / 1.072 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3204, allocations: 0 / 1.072 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.0006633/0.3211, allocations: 419 kB / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.3212, allocations: 110.8 kB / 1.072 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.3214, allocations: 282.5 kB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.3215, allocations: 45.7 kB / 1.073 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.3216, allocations: 156.6 kB / 1.073 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.3217, allocations: 59.28 kB / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.3219, allocations: 145.5 kB / 1.073 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3221, allocations: 338.8 kB / 1.073 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.3225, allocations: 200.7 kB / 1.074 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.3229, allocations: 323.9 kB / 1.074 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.3235, allocations: 0.5233 MB / 1.074 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3235, allocations: 0 / 1.074 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001085/0.3246, allocations: 0.7212 MB / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.3247, allocations: 129.1 kB / 1.075 GB, free: 3.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3248, allocations: 4 kB / 1.075 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3248, allocations: 4 kB / 1.075 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.3249, allocations: 23.92 kB / 1.075 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3249, allocations: 4 kB / 1.075 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006731/0.3256, allocations: 127.8 kB / 1.075 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.3257, allocations: 75.86 kB / 1.075 GB, free: 3.043 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.0002297/0.3259, allocations: 189.6 kB / 1.076 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.326, allocations: 31.61 kB / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.3265, allocations: 364.5 kB / 1.076 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3265, allocations: 4 kB / 1.076 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3265, allocations: 7.938 kB / 1.076 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3265, allocations: 0 / 1.076 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008323/0.3274, allocations: 0.7129 MB / 1.077 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3274, allocations: 4 kB / 1.077 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.3275, allocations: 23.92 kB / 1.077 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.3275, allocations: 0 / 1.077 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3275, allocations: 4 kB / 1.077 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3275, allocations: 3.938 kB / 1.077 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3275, allocations: 0 / 1.077 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.328, allocations: 415.6 kB / 1.077 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.328, allocations: 108.7 kB / 1.077 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.3281, allocations: 12 kB / 1.077 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3282, allocations: 19.86 kB / 1.077 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.3283, allocations: 23.97 kB / 1.077 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3283, allocations: 15.94 kB / 1.077 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001782/0.3285, allocations: 186 kB / 1.078 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3285, allocations: 0 / 1.078 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004002/0.3289, allocations: 84 kB / 1.078 GB, free: 0.7656 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.0001681/0.3291, allocations: 125.4 kB / 1.078 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4307/0.7598, allocations: 0.6844 MB / 1.078 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.7598, allocations: 1.5 kB / 1.078 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.7601, allocations: 142.5 kB / 1.079 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.7607, allocations: 60.92 kB / 1.079 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.7615, allocations: 0.5497 MB / 1.079 GB, free: 22.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.7618, allocations: 0.7624 MB / 1.08 GB, free: 21.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/0.7618, allocations: 37.52 kB / 1.08 GB, free: 21.58 MB / 0.8419 GB Notification: Performance of SimCode: time 8.82e-07/0.7618, allocations: 0.8438 kB / 1.08 GB, free: 21.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.008664/0.7705, allocations: 4.397 MB / 1.084 GB, free: 21.27 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/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