Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 106.2 kB / 16.37 MB, free: 6.477 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.001478/0.001478, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.18 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.552/2.552, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 69.17 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3164, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002217/0.3187, allocations: 0.6343 MB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3201, allocations: 1.114 MB / 1.021 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.3201, allocations: 3.938 kB / 1.021 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.3202, allocations: 0 / 1.021 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.3203, allocations: 19.86 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.3207, allocations: 125.5 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.321, allocations: 199.7 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3211, allocations: 15.98 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.3212, allocations: 79.88 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3214, allocations: 67.84 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.3214, allocations: 16 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.3215, allocations: 31.98 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.3216, allocations: 23.92 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3217, allocations: 67.77 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.3219, allocations: 203.4 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3219, allocations: 0 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3219, allocations: 0 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.322, allocations: 4 kB / 1.021 GB, free: 7.238 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005555/0.3225, allocations: 458.6 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3226, allocations: 8.031 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.3226, allocations: 12.94 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3229, allocations: 224.1 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.323, allocations: 12.38 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.323, allocations: 8.375 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3232, allocations: 103.9 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3232, allocations: 192 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3232, allocations: 3.938 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3232, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.792e-05/0.3233, allocations: 43.97 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.3239, allocations: 496.7 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.3239, allocations: 57.14 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.324, allocations: 21.77 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.324, allocations: 4 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3242, allocations: 120.9 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3242, allocations: 0 / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0002833/0.3245, allocations: 129.6 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3245, allocations: 85.05 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3247, allocations: 141.7 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.3247, allocations: 29.7 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.3248, allocations: 95.98 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.3248, allocations: 23.81 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3249, allocations: 53.69 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.325, allocations: 318.8 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.3252, allocations: 123.9 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.3254, allocations: 169 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.3257, allocations: 216.4 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3257, allocations: 4 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005198/0.3262, allocations: 376.6 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.3263, allocations: 71.39 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3263, allocations: 0 / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3263, allocations: 7.938 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.771e-05/0.3263, allocations: 0 / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3264, allocations: 4 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.3267, allocations: 71.94 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.3268, allocations: 15.98 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001142/0.3269, allocations: 134.5 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.3269, allocations: 0 / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.3269, allocations: 15.84 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3269, allocations: 0 / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.327, allocations: 3.938 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.327, allocations: 15.88 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.3271, allocations: 185.5 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3271, allocations: 0 / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.3271, allocations: 7.984 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3271, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3272, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3272, allocations: 4 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3272, allocations: 0 / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3273, allocations: 133.9 kB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.3274, allocations: 85.39 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3274, allocations: 4 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.3274, allocations: 0 / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.3275, allocations: 15.86 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3275, allocations: 3.984 kB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.3275, allocations: 107.8 kB / 1.025 GB, free: 2.648 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3275, allocations: 0 / 1.025 GB, free: 2.648 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002439/0.3278, allocations: 31.94 kB / 1.025 GB, free: 2.617 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001484/0.328, allocations: 115.2 kB / 1.025 GB, free: 2.492 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.3284, allocations: 322.6 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3284, allocations: 0 / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/0.3284, allocations: 43.89 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.3287, allocations: 17.86 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.3291, allocations: 215.3 kB / 1.026 GB, free: 1.852 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3293, allocations: 0.6963 MB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.3294, allocations: 11.98 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.3294, allocations: 11.44 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3294, allocations: 0 / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of Templates: time 0.004801/0.3342, allocations: 2.26 MB / 1.029 GB, free: 14.87 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches