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.001493/0.001492, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002327/0.002327, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.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.395/2.395, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004577, allocations: 11.98 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9227, allocations: 142.3 MB / 0.9535 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.0009833/0.9237, allocations: 0.6983 MB / 0.9542 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.9251, allocations: 1.366 MB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.9251, allocations: 3.219 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.475e-05/0.9252, allocations: 16.83 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.504e-05/0.9253, allocations: 42.73 kB / 0.9556 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.9262, allocations: 404.6 kB / 0.956 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.9265, allocations: 265.8 kB / 0.9562 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.9267, allocations: 93.91 kB / 0.9563 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.9269, allocations: 150.9 kB / 0.9565 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.927, allocations: 137.6 kB / 0.9566 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.9271, allocations: 18.88 kB / 0.9566 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.87e-05/0.9272, allocations: 32.83 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.9272, allocations: 45.55 kB / 0.9567 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.9273, allocations: 74.61 kB / 0.9568 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.9276, allocations: 379.9 kB / 0.9571 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.9276, allocations: 0 / 0.9571 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9276, allocations: 1.25 kB / 0.9571 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.9276, allocations: 0 / 0.9571 GB, free: 5.449 MB / 0.7169 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.0005024/0.9281, allocations: 0.5968 MB / 0.9577 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.9282, allocations: 18.33 kB / 0.9577 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.9282, allocations: 43.2 kB / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008302/0.9291, allocations: 373.1 kB / 0.9581 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.9291, allocations: 22.12 kB / 0.9581 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.9292, allocations: 34.12 kB / 0.9582 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.9295, allocations: 234.2 kB / 0.9584 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.9295, allocations: 0 / 0.9584 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.9296, allocations: 10.42 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.9296, allocations: 8.641 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.9298, allocations: 139.6 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.9309, allocations: 0.7624 MB / 0.9593 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.9312, allocations: 186.1 kB / 0.9595 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.9312, allocations: 9.984 kB / 0.9595 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.9315, allocations: 243.2 kB / 0.9597 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.462e-06/0.9315, allocations: 4 kB / 0.9597 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006587/0.9322, allocations: 424.5 kB / 0.9601 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.9322, allocations: 112 kB / 0.9602 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.9325, allocations: 283.1 kB / 0.9605 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.9326, allocations: 42.66 kB / 0.9605 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.9327, allocations: 155.2 kB / 0.9607 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.9328, allocations: 61.84 kB / 0.9607 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.9329, allocations: 11.91 kB / 0.9608 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.933, allocations: 345.8 kB / 0.9611 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.9334, allocations: 200.9 kB / 0.9613 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.9339, allocations: 311.5 kB / 0.9616 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.9344, allocations: 336.7 kB / 0.9619 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.9344, allocations: 1 kB / 0.9619 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001118/0.9355, allocations: 0.7194 MB / 0.9626 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.9356, allocations: 128.5 kB / 0.9627 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.9356, allocations: 7.969 kB / 0.9627 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.9356, allocations: 8.719 kB / 0.9627 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.9357, allocations: 25.98 kB / 0.9628 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.9357, allocations: 8.875 kB / 0.9628 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/0.9364, allocations: 170.8 kB / 0.9629 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.9366, allocations: 64.55 kB / 0.963 GB, free: 1.066 MB / 0.7169 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],extIndBoo.u[2],extIndBoo.u[3],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,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.u[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.9368, allocations: 188.3 kB / 0.9632 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.9368, allocations: 34.22 kB / 0.9632 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.9373, allocations: 358.1 kB / 0.9636 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.9373, allocations: 3.875 kB / 0.9636 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9373, allocations: 0 / 0.9636 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9373, allocations: 0 / 0.9636 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.9381, allocations: 0.713 MB / 0.9643 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9381, allocations: 0 / 0.9643 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.9382, allocations: 23.67 kB / 0.9643 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.9382, allocations: 5.406 kB / 0.9643 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.9382, allocations: 11.22 kB / 0.9643 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9382, allocations: 0.9688 kB / 0.9643 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.9382, allocations: 5.078 kB / 0.9643 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/0.9387, allocations: 421.4 kB / 0.9647 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.9388, allocations: 105.6 kB / 0.9648 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.9389, allocations: 9.969 kB / 0.9648 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.939, allocations: 12.05 kB / 0.9648 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.9391, allocations: 26.12 kB / 0.9648 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.9391, allocations: 12.22 kB / 0.9649 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002137/0.9393, allocations: 184.5 kB / 0.965 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9393, allocations: 0 / 0.965 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004256/0.9397, allocations: 90.11 kB / 0.9651 GB, free: 15.58 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002478/0.94, allocations: 125 kB / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.9411, allocations: 0.6577 MB / 0.9659 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.9411, allocations: 4 kB / 0.9659 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.9414, allocations: 133.1 kB / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.9418, allocations: 62.44 kB / 0.9661 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.9429, allocations: 0.5506 MB / 0.9666 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.9434, allocations: 0.7681 MB / 0.9674 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.9435, allocations: 66.73 kB / 0.9674 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.9436, allocations: 37.77 kB / 0.9675 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.9436, allocations: 0.9688 kB / 0.9675 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.01046/0.9541, allocations: 4.558 MB / 0.9719 GB, free: 11.52 MB / 0.7325 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 -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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches