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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001163/0.001163, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001148/0.001148, allocations: 191.4 kB / 17.31 MB, free: 5.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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 64.44 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3158, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002478/0.3184, allocations: 1.038 MB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.3202, allocations: 1.457 MB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.3203, allocations: 0 / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.3204, allocations: 31.67 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.3205, allocations: 35.59 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.3215, allocations: 483 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.3221, allocations: 0.5388 MB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.3223, allocations: 127.7 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.3225, allocations: 215.5 kB / 1.023 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.3228, allocations: 183.4 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.3228, allocations: 48 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.323, allocations: 63.98 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.3231, allocations: 71.77 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.3233, allocations: 191.2 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.3238, allocations: 0.5101 MB / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3238, allocations: 0 / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.845e-06/0.3238, allocations: 11.92 kB / 1.024 GB, free: 4.895 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3238, allocations: 0 / 1.024 GB, free: 4.895 MB / 0.795 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.0008522/0.3247, allocations: 0.6928 MB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3247, allocations: 8.922 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/0.3248, allocations: 36.66 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.3257, allocations: 360.1 kB / 1.025 GB, free: 3.688 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.3257, allocations: 28.73 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.3258, allocations: 36.31 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.3261, allocations: 229.1 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3262, allocations: 3.938 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.3262, allocations: 15.92 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3262, allocations: 4 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3264, allocations: 139.3 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.3276, allocations: 0.7692 MB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3279, allocations: 182.5 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.3281, allocations: 212.8 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3282, allocations: 3.984 kB / 1.026 GB, free: 2.016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.3285, allocations: 247.8 kB / 1.027 GB, free: 1.754 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.362e-06/0.3285, allocations: 0 / 1.027 GB, free: 1.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.0006358/0.3291, allocations: 422.2 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.3292, allocations: 110.8 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.3295, allocations: 282.5 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.3295, allocations: 41.7 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3297, allocations: 164.7 kB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.3297, allocations: 67.12 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.3299, allocations: 137.5 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3301, allocations: 346.7 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.3304, allocations: 196.7 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.3308, allocations: 323.7 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.3314, allocations: 0.5232 MB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3314, allocations: 4 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001002/0.3324, allocations: 0.7095 MB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.3325, allocations: 130.8 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3326, allocations: 4 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3326, allocations: 8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.3327, allocations: 23.92 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3327, allocations: 7.938 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.3333, allocations: 127.5 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/0.3334, allocations: 67.92 kB / 1.03 GB, free: 13.87 MB / 0.8106 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.0001962/0.3336, allocations: 198.2 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.3336, allocations: 27.62 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.3341, allocations: 348.4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3341, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3341, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.3341, allocations: 3.984 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007881/0.3349, allocations: 0.7187 MB / 1.031 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3349, allocations: 3.984 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.288e-05/0.335, allocations: 16 kB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.335, allocations: 4 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.335, allocations: 3.984 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3351, allocations: 7.938 kB / 1.031 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3351, allocations: 0 / 1.031 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.3355, allocations: 424.9 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.3356, allocations: 100.8 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.3356, allocations: 11.89 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3357, allocations: 11.94 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.3358, allocations: 23.97 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3358, allocations: 12 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001674/0.336, allocations: 189.9 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.893e-06/0.336, allocations: 0 / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003635/0.3364, allocations: 91.94 kB / 1.032 GB, free: 11.59 MB / 0.8106 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.0001777/0.3365, allocations: 125.4 kB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007788/0.3373, allocations: 0.6535 MB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3373, allocations: 0.8125 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.3375, allocations: 135.9 kB / 1.033 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.338, allocations: 68.39 kB / 1.033 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.3387, allocations: 0.5103 MB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3391, allocations: 0.7648 MB / 1.034 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.3392, allocations: 66.92 kB / 1.034 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.3393, allocations: 35.44 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.3393, allocations: 0 / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of Templates: time 0.008597/0.3479, allocations: 4.99 MB / 1.039 GB, free: 4.203 MB / 0.8106 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=480 -s cvode -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/jenkins1/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