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.004926/0.004926, allocations: 98.7 kB / 15.73 MB, free: 6.047 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.00116/0.00116, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.956/2.956, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3293, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001939/0.3313, allocations: 0.6179 MB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.3328, allocations: 1.121 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.3329, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.333, allocations: 7.922 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.3331, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.3335, allocations: 127.3 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.3338, allocations: 195.6 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.334, allocations: 19.98 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3341, allocations: 75.89 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3343, allocations: 67.83 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.3343, allocations: 19.94 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.3344, allocations: 31.98 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.3345, allocations: 23.91 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3346, allocations: 63.83 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3349, allocations: 207.4 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3349, allocations: 3.938 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3349, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3349, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 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.0006885/0.3356, allocations: 466.5 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3356, allocations: 8.031 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.3357, allocations: 12.89 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3359, allocations: 208.3 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.336, allocations: 12.36 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.336, allocations: 12.38 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3362, allocations: 95.86 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3362, allocations: 12.17 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3362, allocations: 7.938 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3362, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.3363, allocations: 43.91 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.3369, allocations: 492.8 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.337, allocations: 57.12 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.337, allocations: 29.77 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.337, allocations: 0 / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.3373, allocations: 121 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3373, allocations: 4 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002868/0.3375, allocations: 125.5 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.3376, allocations: 85.11 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3377, allocations: 133.8 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.3378, allocations: 33.69 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.3379, allocations: 104 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.3379, allocations: 11.95 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.338, allocations: 53.67 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3381, allocations: 326.8 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3383, allocations: 123.9 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.3386, allocations: 157 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.3389, allocations: 228.3 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3389, allocations: 4 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006012/0.3395, allocations: 388.7 kB / 1.226 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.3395, allocations: 63.39 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3395, allocations: 4 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3396, allocations: 0 / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.368e-05/0.3396, allocations: 4.188 kB / 1.226 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3396, allocations: 4 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.34, allocations: 75.73 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.34, allocations: 12 kB / 1.226 GB, free: 7.438 MB / 0.9825 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.0001372/0.3401, allocations: 138.3 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.3402, allocations: 4.375 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.3402, allocations: 11.91 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3402, allocations: 4 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3402, allocations: 0 / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3402, allocations: 7.922 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.3404, allocations: 189.6 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3404, allocations: 0 / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-06/0.3405, allocations: 0 / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3405, allocations: 4 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3405, allocations: 3.984 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3405, allocations: 0 / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3405, allocations: 0 / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.3407, allocations: 145.8 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.3407, allocations: 92.98 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.3408, allocations: 0 / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.3408, allocations: 0 / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3408, allocations: 11.92 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3408, allocations: 4 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.3409, allocations: 103.3 kB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3409, allocations: 0 / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002632/0.3411, allocations: 32 kB / 1.227 GB, free: 6.594 MB / 0.9825 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.0001951/0.3413, allocations: 116 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.3418, allocations: 298.6 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3418, allocations: 0 / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.3419, allocations: 28.3 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.3421, allocations: 31.91 kB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.3426, allocations: 205.5 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.343, allocations: 0.7041 MB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.343, allocations: 4 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.343, allocations: 19.42 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.343, allocations: 0 / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of Templates: time 0.005398/0.3484, allocations: 2.271 MB / 1.231 GB, free: 2.875 MB / 0.9825 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=480 -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/jenkins/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