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.0008861/0.0008862, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00763/0.00763, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004174, allocations: 12.45 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4021, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001325/0.4034, allocations: 0.7308 MB / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.4055, allocations: 1.517 MB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.4057, allocations: 0 / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.4059, allocations: 11.86 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.406, allocations: 35.7 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.4072, allocations: 435.9 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.4078, allocations: 451.8 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.4081, allocations: 127.6 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.4084, allocations: 155.6 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.4086, allocations: 135.4 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.701e-05/0.4087, allocations: 16 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.4088, allocations: 35.98 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.4089, allocations: 43.83 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.4091, allocations: 188.9 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.4097, allocations: 482.7 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4097, allocations: 4 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4097, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.4097, allocations: 0 / 1.063 GB, free: 1.129 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.0007712/0.4105, allocations: 0.6032 MB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4105, allocations: 12.03 kB / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.4106, allocations: 36.56 kB / 1.064 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.4117, allocations: 376.3 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.4117, allocations: 24.69 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/0.4118, allocations: 32.38 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.4122, allocations: 233 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4122, allocations: 7.938 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.4122, allocations: 12 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4122, allocations: 4 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.4125, allocations: 143.3 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.4137, allocations: 0.7691 MB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.414, allocations: 182.5 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.4142, allocations: 204.8 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.4143, allocations: 8 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.4146, allocations: 243.8 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 3.417e-06/0.4146, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0006747/0.4153, allocations: 423 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.4154, allocations: 114.8 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.4157, allocations: 282.4 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.4157, allocations: 37.7 kB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4158, allocations: 156.7 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.4159, allocations: 67.19 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.416, allocations: 69.61 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4162, allocations: 342.8 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.4166, allocations: 200.3 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.417, allocations: 320.3 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.4176, allocations: 0.5193 MB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4176, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001112/0.4187, allocations: 0.721 MB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.979e-05/0.4188, allocations: 126.8 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4189, allocations: 7.938 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4189, allocations: 4 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.419, allocations: 27.92 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.419, allocations: 7.938 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.4197, allocations: 171.8 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4198, allocations: 67.91 kB / 1.069 GB, free: 10.21 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.0002279/0.4201, allocations: 191.2 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.4201, allocations: 31.62 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.4207, allocations: 360.3 kB / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4207, allocations: 0 / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4207, allocations: 4 kB / 1.07 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4207, allocations: 0 / 1.07 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.4216, allocations: 0.7211 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4217, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.4217, allocations: 19.92 kB / 1.071 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4218, allocations: 0 / 1.071 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.4218, allocations: 8 kB / 1.071 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4218, allocations: 3.938 kB / 1.071 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4218, allocations: 4 kB / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.4224, allocations: 419.8 kB / 1.071 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4225, allocations: 108.7 kB / 1.071 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.4225, allocations: 4 kB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.4226, allocations: 19.92 kB / 1.071 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.4227, allocations: 19.97 kB / 1.071 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.4228, allocations: 12 kB / 1.071 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001966/0.423, allocations: 186 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.423, allocations: 0 / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005021/0.4235, allocations: 91.98 kB / 1.071 GB, free: 7.945 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.0002474/0.4237, allocations: 129.4 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009469/0.4247, allocations: 0.6496 MB / 1.072 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4247, allocations: 0.8125 kB / 1.072 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.4249, allocations: 143.9 kB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.4254, allocations: 65.66 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.4264, allocations: 0.5795 MB / 1.073 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4267, allocations: 0.7651 MB / 1.074 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.4269, allocations: 62.92 kB / 1.074 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.427, allocations: 43.36 kB / 1.074 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.427, allocations: 3.938 kB / 1.074 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of Templates: time 0.01013/0.4371, allocations: 4.757 MB / 1.078 GB, free: 0.7188 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