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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001134/0.001134, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00106/0.00106, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.498/2.498, allocations: 437 MB / 0.711 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001565, allocations: 65.38 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3292, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002203/0.3315, allocations: 0.6282 MB / 1.019 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3331, allocations: 1.11 MB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.3332, allocations: 4 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3333, allocations: 3.938 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.3334, allocations: 7.922 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.334, allocations: 122.7 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.3343, allocations: 195.7 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.3344, allocations: 23.98 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.3345, allocations: 83.83 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.3347, allocations: 59.84 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.3348, allocations: 16 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3349, allocations: 27.98 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.335, allocations: 23.92 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.3351, allocations: 67.81 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.3354, allocations: 191.8 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3354, allocations: 0 / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3354, allocations: 0 / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3354, allocations: 0 / 1.02 GB, free: 8.047 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.0006334/0.3361, allocations: 458.6 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3361, allocations: 16.86 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.3362, allocations: 8.938 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3365, allocations: 224.1 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3365, allocations: 12.31 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.3366, allocations: 20.3 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3368, allocations: 95.92 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3368, allocations: 192 / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3368, allocations: 7.938 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3368, allocations: 4 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.3369, allocations: 43.91 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.3377, allocations: 492.8 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3378, allocations: 57.12 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.3378, allocations: 29.77 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.3378, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.338, allocations: 124.9 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3381, allocations: 0 / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0003449/0.3384, allocations: 129.6 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3385, allocations: 77.11 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3386, allocations: 133.7 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.3387, allocations: 33.69 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.3388, allocations: 104 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3388, allocations: 15.83 kB / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.3389, allocations: 53.69 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.339, allocations: 326.8 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.3393, allocations: 123.9 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.3395, allocations: 161 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.3398, allocations: 228.3 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3398, allocations: 0 / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006237/0.3405, allocations: 380.6 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.3405, allocations: 67.39 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3405, allocations: 0 / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3406, allocations: 0 / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-05/0.3406, allocations: 8.188 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3406, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.3411, allocations: 75.75 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.3411, allocations: 11.98 kB / 1.024 GB, free: 4.25 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.0001433/0.3413, allocations: 133.8 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.3413, allocations: 12 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.3413, allocations: 7.906 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3414, allocations: 0 / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3414, allocations: 3.938 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3414, allocations: 3.938 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.3415, allocations: 189.5 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3416, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.3416, allocations: 7.984 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3416, allocations: 0 / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.3416, allocations: 0 / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3416, allocations: 0 / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3416, allocations: 8 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.3418, allocations: 142.2 kB / 1.024 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.3419, allocations: 81.02 kB / 1.024 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3419, allocations: 3.984 kB / 1.024 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.3419, allocations: 4 kB / 1.024 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.342, allocations: 7.922 kB / 1.024 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.342, allocations: 8 kB / 1.024 GB, free: 3.547 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.3421, allocations: 99.27 kB / 1.024 GB, free: 3.449 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3421, allocations: 0 / 1.024 GB, free: 3.449 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003004/0.3424, allocations: 39.94 kB / 1.025 GB, free: 3.41 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.0001682/0.3426, allocations: 111.2 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.3431, allocations: 326.5 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3431, allocations: 384 / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.3432, allocations: 51.94 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.3434, allocations: 17.48 kB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.3439, allocations: 243.1 kB / 1.025 GB, free: 2.609 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3442, allocations: 0.7007 MB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.3442, allocations: 15.44 kB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.3442, allocations: 0 / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of Templates: time 0.004126/0.3484, allocations: 1.766 MB / 1.028 GB, free: 124 kB / 0.795 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 -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