Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 107.2 kB / 16.35 MB, free: 5.824 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.001348/0.001348, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.14 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.427/2.427, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.56 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3374, 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.BooleanScalarReplicator): time 0.002258/0.3397, allocations: 0.6239 MB / 0.9517 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3414, allocations: 1.115 MB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.3415, allocations: 4 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.3416, allocations: 3.938 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.454e-05/0.3417, allocations: 7.922 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.3423, allocations: 123.3 kB / 0.953 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.3425, allocations: 99.81 kB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3426, allocations: 0 / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.3427, allocations: 47.91 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3428, allocations: 31.89 kB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.3428, allocations: 8 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.3429, allocations: 19.98 kB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.343, allocations: 7.984 kB / 0.9532 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.703e-05/0.3431, allocations: 31.92 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.3432, allocations: 83.77 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.3433, allocations: 4 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3433, allocations: 0 / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3433, allocations: 4 kB / 0.9533 GB, free: 5.828 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000557/0.3438, allocations: 389 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3439, allocations: 8.031 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.3439, allocations: 12.78 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.3442, allocations: 184.3 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3442, allocations: 384 / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.3443, allocations: 8.375 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.3444, allocations: 50.19 kB / 0.9539 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3444, allocations: 192 / 0.9539 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3444, allocations: 3.938 kB / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3444, allocations: 0 / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.3445, allocations: 19.98 kB / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.3449, allocations: 304.6 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/0.3449, allocations: 22.58 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.345, allocations: 12.91 kB / 0.9543 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.345, allocations: 0 / 0.9543 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3451, allocations: 67.33 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3451, allocations: 0 / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000204/0.3454, allocations: 57.69 kB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3454, allocations: 51.41 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3456, allocations: 113.8 kB / 0.9545 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3456, allocations: 29.7 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.3456, allocations: 92.12 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.3457, allocations: 3.906 kB / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.3458, allocations: 33.7 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3459, allocations: 318.8 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.346, allocations: 27.98 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.346, allocations: 54.48 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.996e-05/0.3462, allocations: 76.27 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3462, allocations: 4 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002376/0.3464, allocations: 143.3 kB / 0.9553 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.3465, allocations: 33.7 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3465, allocations: 0 / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3465, allocations: 0 / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.3465, allocations: 7.938 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3465, allocations: 7.922 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.3467, allocations: 24.06 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.3468, allocations: 12 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.504e-05/0.3469, allocations: 117.8 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.3469, allocations: 3.906 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.3469, allocations: 11.89 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3469, allocations: 4 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3469, allocations: 0 / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3469, allocations: 0 / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.3471, allocations: 161.6 kB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3471, allocations: 0 / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/0.3471, allocations: 7.984 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3471, allocations: 0 / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3471, allocations: 0 / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3471, allocations: 3.938 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3471, allocations: 0 / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.3472, allocations: 85 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.3473, allocations: 81.02 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3473, allocations: 0 / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.3473, allocations: 12.27 kB / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.3474, allocations: 0 / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3474, allocations: 4.312 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.3474, allocations: 83.28 kB / 0.9559 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3475, allocations: 4 kB / 0.9559 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000207/0.3477, allocations: 15.98 kB / 0.9559 GB, free: 2.742 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002188/0.3479, allocations: 111.2 kB / 0.956 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3481, allocations: 127.4 kB / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3481, allocations: 0 / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.3482, allocations: 12 kB / 0.9562 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.3484, allocations: 7.984 kB / 0.9562 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.3488, allocations: 130.1 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.3491, allocations: 0.6883 MB / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.3492, allocations: 4 kB / 0.957 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.3492, allocations: 11.5 kB / 0.957 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of SimCode: time 3.116e-06/0.3492, allocations: 0 / 0.957 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of Templates: time 0.003803/0.353, allocations: 1.058 MB / 0.958 GB, free: 0.5391 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches