Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001593/0.001593, allocations: 110.3 kB / 15.99 MB, free: 6.355 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.00171/0.00171, allocations: 194 kB / 16.91 MB, free: 6.191 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.588/2.588, allocations: 469.8 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 64.62 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3161, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002338/0.3184, allocations: 0.6807 MB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3202, allocations: 1.116 MB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.3203, allocations: 4 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.3205, allocations: 11.92 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.3206, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.3211, allocations: 110.4 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.3215, allocations: 195.6 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.3216, allocations: 23.98 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.3218, allocations: 75.88 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.3219, allocations: 55.88 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.322, allocations: 16 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3221, allocations: 31.97 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.9e-05/0.3222, allocations: 27.92 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.3224, allocations: 63.83 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3227, allocations: 151.8 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3227, allocations: 8 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.686e-06/0.3227, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3227, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8419 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.000928/0.3236, allocations: 462.6 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3237, allocations: 8.031 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.3238, allocations: 12.84 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3242, allocations: 220.3 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3242, allocations: 8.359 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.3243, allocations: 16.38 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.3245, allocations: 103.9 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3245, allocations: 192 / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3245, allocations: 7.938 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3245, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.3246, allocations: 39.95 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.3253, allocations: 492.8 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.882e-05/0.3254, allocations: 53.14 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.3254, allocations: 25.77 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3254, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.3257, allocations: 117 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3257, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0003241/0.326, allocations: 121.6 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.3261, allocations: 89.09 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3262, allocations: 137.6 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.3263, allocations: 33.7 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.3264, allocations: 108 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.3264, allocations: 15.75 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3265, allocations: 53.69 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3267, allocations: 322.8 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.3269, allocations: 123.9 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.3272, allocations: 157 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3275, allocations: 220.4 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3275, allocations: 4 kB / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006028/0.3281, allocations: 376.9 kB / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.3282, allocations: 67.39 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3282, allocations: 4 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3282, allocations: 4.312 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.972e-05/0.3283, allocations: 11.94 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3283, allocations: 3.984 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/0.3287, allocations: 68.31 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.3287, allocations: 16.05 kB / 1.07 GB, free: 8.742 MB / 0.8419 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.0001508/0.3289, allocations: 133.8 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.3289, allocations: 11.89 kB / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.329, allocations: 11.89 kB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.329, allocations: 4 kB / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.329, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.329, allocations: 3.938 kB / 1.07 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3292, allocations: 185.6 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3292, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.028e-05/0.3292, allocations: 7.938 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3292, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3293, allocations: 8 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3293, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.3293, allocations: 3.984 kB / 1.07 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3295, allocations: 129.8 kB / 1.07 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.3295, allocations: 85.02 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3296, allocations: 7.984 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.362e-05/0.3296, allocations: 4 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3296, allocations: 7.938 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3296, allocations: 4 kB / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.951e-05/0.3297, allocations: 111.1 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3297, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002499/0.33, allocations: 35.94 kB / 1.071 GB, free: 7.898 MB / 0.8419 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.0001635/0.3302, allocations: 107.2 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.3306, allocations: 330.6 kB / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3306, allocations: 0 / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.3307, allocations: 47.91 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.331, allocations: 17.25 kB / 1.071 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.3314, allocations: 253.3 kB / 1.071 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3318, allocations: 0.7002 MB / 1.072 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.3318, allocations: 11.44 kB / 1.072 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3318, allocations: 3.938 kB / 1.072 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of Templates: time 0.003873/0.3357, allocations: 1.786 MB / 1.074 GB, free: 4.582 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches