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.001661/0.001661, allocations: 105.6 kB / 16.35 MB, free: 6.336 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.001891/0.001891, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.17 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.418/2.418, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.47 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3081, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002015/0.3102, allocations: 0.63 MB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3115, allocations: 1.122 MB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.3116, allocations: 0 / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.689e-05/0.3117, allocations: 11.92 kB / 1.021 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3118, allocations: 11.92 kB / 1.021 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.3123, allocations: 119.1 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.3126, allocations: 199.6 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3128, allocations: 16 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3129, allocations: 79.88 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.3131, allocations: 71.84 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.3131, allocations: 12 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3132, allocations: 35.91 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.3133, allocations: 23.92 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3134, allocations: 67.83 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.3138, allocations: 203.4 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3138, allocations: 0 / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3138, allocations: 0 / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3138, allocations: 0 / 1.021 GB, free: 7.27 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.000677/0.3145, allocations: 458.6 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3145, allocations: 8.922 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.3146, allocations: 8.938 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.3149, allocations: 220.1 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.315, allocations: 24.3 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.315, allocations: 8.375 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.3152, allocations: 99.92 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3152, allocations: 192 / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3152, allocations: 3.938 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.3153, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.3153, allocations: 43.91 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.316, allocations: 0.489 MB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.765e-05/0.3161, allocations: 49.19 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.3162, allocations: 29.77 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.3162, allocations: 0 / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.3163, allocations: 120.9 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3164, allocations: 0 / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0003325/0.3167, allocations: 129.6 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.3168, allocations: 77.11 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3169, allocations: 137.7 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.317, allocations: 37.69 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.3171, allocations: 104 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3171, allocations: 15.83 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3172, allocations: 53.69 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3173, allocations: 322.8 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3176, allocations: 123.9 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3178, allocations: 165 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.3181, allocations: 224.8 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3181, allocations: 0 / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005795/0.3187, allocations: 384.8 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/0.3188, allocations: 67.39 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3188, allocations: 0 / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3188, allocations: 4 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.138e-05/0.3189, allocations: 0 / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3189, allocations: 4 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.3192, allocations: 71.75 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.3193, allocations: 12 kB / 1.025 GB, free: 3.488 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.0001269/0.3194, allocations: 137.8 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.3194, allocations: 7.984 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.3195, allocations: 15.84 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3195, allocations: 0 / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3195, allocations: 0 / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3195, allocations: 3.938 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3197, allocations: 189.5 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3197, allocations: 0 / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.3197, allocations: 8 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3197, allocations: 0 / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3197, allocations: 3.984 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3197, allocations: 4 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3197, allocations: 0 / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.3199, allocations: 137.8 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.32, allocations: 85 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.32, allocations: 4 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.32, allocations: 4 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.32, allocations: 7.938 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3201, allocations: 3.984 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.3201, allocations: 103.8 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3201, allocations: 4 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002432/0.3204, allocations: 31.94 kB / 1.025 GB, free: 2.648 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.0001499/0.3205, allocations: 111.2 kB / 1.025 GB, free: 2.527 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.321, allocations: 330.5 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.321, allocations: 0 / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.318e-05/0.3211, allocations: 27.98 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.3213, allocations: 21.3 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.3217, allocations: 211.7 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.322, allocations: 0.7118 MB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.398e-05/0.322, allocations: 4.188 kB / 1.027 GB, free: 1.152 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.322, allocations: 15.42 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3221, allocations: 0 / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of Templates: time 0.00464/0.3267, allocations: 2.26 MB / 1.029 GB, free: 14.9 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 cvode -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