Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001688/0.001688, allocations: 108 kB / 15.61 MB, free: 152 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.001747/0.001747, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.008/3.008, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.807, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003354/0.8104, allocations: 1.032 MB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.8135, allocations: 1.463 MB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.8138, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.8141, allocations: 23.67 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.8144, allocations: 39.52 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.8167, allocations: 464.2 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.8178, allocations: 0.531 MB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.8182, allocations: 131.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.8187, allocations: 207.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.819, allocations: 163.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003041/0.8193, allocations: 52 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.8196, allocations: 63.92 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.8197, allocations: 71.81 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.8201, allocations: 187.3 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.8209, allocations: 0.5044 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8209, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8209, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.8209, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 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.001736/0.8227, allocations: 0.6889 MB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.8228, allocations: 12.03 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.823, allocations: 40.64 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.8245, allocations: 371.9 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.8246, allocations: 20.75 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.8247, allocations: 32.38 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.8253, allocations: 232.9 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.8254, allocations: 3.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.8254, allocations: 15.98 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.8254, allocations: 8 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.8258, allocations: 139.3 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.8281, allocations: 0.7692 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.8285, allocations: 183.9 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.8289, allocations: 213.9 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.8289, allocations: 8 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/0.8294, allocations: 244.8 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/0.8294, allocations: 0 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.00103/0.8305, allocations: 424.4 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.8306, allocations: 114.7 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.8311, allocations: 294.3 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.583e-05/0.8312, allocations: 37.7 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.8314, allocations: 152.7 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.8315, allocations: 63.25 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.8319, allocations: 145.5 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.8321, allocations: 346.7 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.8327, allocations: 196.7 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.8333, allocations: 320 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/0.8343, allocations: 0.5193 MB / 1.027 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.8343, allocations: 3.938 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001644/0.8359, allocations: 0.717 MB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.8361, allocations: 122.8 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.8361, allocations: 4 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.8361, allocations: 4 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.8363, allocations: 27.86 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.8363, allocations: 8 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009753/0.8373, allocations: 131.5 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.8375, allocations: 63.92 kB / 1.029 GB, free: 6.555 MB / 0.7794 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.0003632/0.8378, allocations: 193.6 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/0.8379, allocations: 31.62 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009098/0.8389, allocations: 348.3 kB / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.8389, allocations: 4 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8389, allocations: 4 kB / 1.029 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.8389, allocations: 7.984 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.8404, allocations: 0.721 MB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.8404, allocations: 3.938 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.8405, allocations: 16 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.8405, allocations: 0 / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.8406, allocations: 11.98 kB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.8406, allocations: 3.938 kB / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8406, allocations: 3.938 kB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.8413, allocations: 419.8 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.8414, allocations: 100.8 kB / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.8415, allocations: 7.984 kB / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.8416, allocations: 15.94 kB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.8417, allocations: 23.97 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.8418, allocations: 15.97 kB / 1.03 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002592/0.842, allocations: 190 kB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.842, allocations: 0 / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007095/0.8428, allocations: 83.91 kB / 1.031 GB, free: 4.281 MB / 0.7794 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.0002703/0.843, allocations: 133.4 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.8447, allocations: 0.6925 MB / 1.031 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8447, allocations: 0 / 1.031 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.8451, allocations: 135.9 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/0.8458, allocations: 69.33 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.8472, allocations: 0.5065 MB / 1.032 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.8479, allocations: 0.757 MB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.8482, allocations: 66.92 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.8483, allocations: 39.42 kB / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of SimCode: time 6.12e-07/0.8483, allocations: 0 / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of Templates: time 0.01713/0.8654, allocations: 4.98 MB / 1.038 GB, free: 12.85 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches