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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00906/0.00906, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002107/0.002107, allocations: 194.4 kB / 16.67 MB, free: 5.977 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 / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.52 kB / 0.9509 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3122, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001942/0.3142, allocations: 0.6281 MB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3157, allocations: 1.118 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.3158, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.541e-05/0.3159, allocations: 3.938 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.334e-05/0.3159, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.3164, allocations: 125.1 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.3166, allocations: 99.81 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.3167, allocations: 11.92 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.3168, allocations: 27.98 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3169, allocations: 39.88 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3169, allocations: 8 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.317, allocations: 23.98 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.3171, allocations: 8 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.3171, allocations: 31.91 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3173, allocations: 95.66 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3173, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3173, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3174, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 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.0005298/0.3179, allocations: 377.1 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3179, allocations: 12.03 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.318, allocations: 4.938 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3182, allocations: 196.2 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3182, allocations: 4.375 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3183, allocations: 4.375 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.3184, allocations: 46.23 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3184, allocations: 192 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3184, allocations: 11.86 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.3184, allocations: 4 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.14e-05/0.3185, allocations: 8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.3189, allocations: 312.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.3189, allocations: 18.58 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.3189, allocations: 12.84 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-06/0.3189, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.3191, allocations: 67.36 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3191, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001888/0.3193, allocations: 61.67 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3193, allocations: 55.41 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.3194, allocations: 109.8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3195, allocations: 25.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.3195, allocations: 88.09 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.3195, allocations: 7.953 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.3196, allocations: 29.7 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3197, allocations: 330.7 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.3198, allocations: 27.98 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.699e-05/0.3199, allocations: 50.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.32, allocations: 80.27 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.32, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002329/0.3203, allocations: 139.3 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.3203, allocations: 43.41 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3203, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3203, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-05/0.3204, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3204, allocations: 3.938 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3206, allocations: 23.97 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.3206, allocations: 8 kB / 1.092 GB, free: 12.85 MB / 0.8575 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 0.0001032/0.3207, allocations: 129.8 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.3207, allocations: 3.953 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.3207, allocations: 7.906 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3208, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3208, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3208, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.3209, allocations: 169.6 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3209, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-06/0.3209, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3209, allocations: 4 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3209, allocations: 4.234 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.321, allocations: 0 / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.321, allocations: 0 / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.3211, allocations: 93.22 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.3211, allocations: 85.06 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3211, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.532e-05/0.3212, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.3212, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3212, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.3212, allocations: 87.27 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3212, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000204/0.3215, allocations: 16 kB / 1.093 GB, free: 12.14 MB / 0.8575 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.0001621/0.3216, allocations: 103.2 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3218, allocations: 131.2 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3218, allocations: 4.188 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.3219, allocations: 11.98 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.3221, allocations: 10.06 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.3224, allocations: 122.1 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3226, allocations: 0.6807 MB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.632e-05/0.3227, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.3227, allocations: 11.44 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3227, allocations: 4 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of Templates: time 0.003319/0.326, allocations: 1.051 MB / 1.095 GB, free: 9.965 MB / 0.8575 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 -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/jenkins/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