Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001129/0.001129, allocations: 113.5 kB / 16.37 MB, free: 5.996 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.001188/0.001188, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 67.23 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3364, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002749/0.3392, allocations: 1.034 MB / 0.9521 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.3416, allocations: 1.463 MB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.3418, allocations: 4 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.342, allocations: 27.67 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.3422, allocations: 47.52 kB / 0.9537 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3435, allocations: 462.4 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007287/0.3443, allocations: 0.5388 MB / 0.9546 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.3446, allocations: 127.7 kB / 0.9547 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.345, allocations: 199.6 kB / 0.9549 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003793/0.3454, allocations: 195.3 kB / 0.9551 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.3455, allocations: 52 kB / 0.9552 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.3457, allocations: 55.98 kB / 0.9552 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3458, allocations: 79.75 kB / 0.9553 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.3461, allocations: 191.2 kB / 0.9555 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006192/0.3467, allocations: 0.5101 MB / 0.956 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3467, allocations: 4 kB / 0.956 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3467, allocations: 0 / 0.956 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.3467, allocations: 0 / 0.956 GB, free: 3.074 MB / 0.7325 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.001136/0.3479, allocations: 0.6966 MB / 0.9567 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3479, allocations: 11.97 kB / 0.9567 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.3481, allocations: 36.66 kB / 0.9567 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.3491, allocations: 356.2 kB / 0.957 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.3492, allocations: 20.75 kB / 0.9571 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.3493, allocations: 40.36 kB / 0.9571 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.3497, allocations: 240.2 kB / 0.9573 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3497, allocations: 0 / 0.9573 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.3497, allocations: 4 kB / 0.9573 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3498, allocations: 12 kB / 0.9573 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.35, allocations: 139.3 kB / 0.9575 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.3513, allocations: 0.7653 MB / 0.9582 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3516, allocations: 186.4 kB / 0.9584 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.3519, allocations: 210.6 kB / 0.9586 GB, free: 208 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.3519, allocations: 8 kB / 0.9586 GB, free: 200 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.3523, allocations: 247.8 kB / 0.9589 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.3523, allocations: 0 / 0.9589 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.0006959/0.353, allocations: 423.1 kB / 0.9593 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.3531, allocations: 118.7 kB / 0.9594 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.3533, allocations: 282.4 kB / 0.9596 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.3534, allocations: 45.69 kB / 0.9597 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.3535, allocations: 148.7 kB / 0.9598 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.3536, allocations: 63.19 kB / 0.9599 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.3538, allocations: 145.5 kB / 0.96 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.354, allocations: 334.8 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.3543, allocations: 204.7 kB / 0.9605 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.3547, allocations: 316 kB / 0.9608 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.3553, allocations: 0.531 MB / 0.9614 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3553, allocations: 3.938 kB / 0.9614 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001061/0.3564, allocations: 0.7131 MB / 0.9621 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.78e-05/0.3565, allocations: 126.8 kB / 0.9622 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3565, allocations: 4 kB / 0.9622 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.3566, allocations: 4 kB / 0.9622 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.3567, allocations: 31.86 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.3567, allocations: 11.94 kB / 0.9622 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.3573, allocations: 139.8 kB / 0.9624 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3574, allocations: 63.92 kB / 0.9624 GB, free: 12.04 MB / 0.7481 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.0002081/0.3576, allocations: 189.6 kB / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.3577, allocations: 27.62 kB / 0.9626 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.3582, allocations: 353.2 kB / 0.963 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3582, allocations: 8 kB / 0.963 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3582, allocations: 0 / 0.963 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3582, allocations: 3.938 kB / 0.963 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008312/0.3591, allocations: 0.7134 MB / 0.9637 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3591, allocations: 0 / 0.9637 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.3592, allocations: 23.92 kB / 0.9637 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3592, allocations: 3.938 kB / 0.9637 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3592, allocations: 8 kB / 0.9637 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3592, allocations: 4 kB / 0.9637 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3592, allocations: 0 / 0.9637 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.3597, allocations: 420.6 kB / 0.9641 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.3597, allocations: 100.8 kB / 0.9642 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.3598, allocations: 15.84 kB / 0.9642 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3599, allocations: 11.98 kB / 0.9642 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.36, allocations: 19.97 kB / 0.9643 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.36, allocations: 12 kB / 0.9643 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001682/0.3602, allocations: 194 kB / 0.9645 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3602, allocations: 0 / 0.9645 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003978/0.3606, allocations: 87.98 kB / 0.9645 GB, free: 9.766 MB / 0.7481 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.0001958/0.3608, allocations: 125.4 kB / 0.9647 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008284/0.3616, allocations: 0.6657 MB / 0.9653 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3617, allocations: 0 / 0.9653 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.3618, allocations: 139.9 kB / 0.9654 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.3623, allocations: 65.06 kB / 0.9655 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.3632, allocations: 0.5128 MB / 0.966 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3635, allocations: 0.7649 MB / 0.9667 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.3636, allocations: 66.89 kB / 0.9668 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.3637, allocations: 31.44 kB / 0.9668 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.3637, allocations: 3.938 kB / 0.9668 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of Templates: time 0.01028/0.374, allocations: 4.993 MB / 0.9717 GB, free: 2.355 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches