Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001185/0.001185, allocations: 104.5 kB / 16.35 MB, free: 5.875 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.001291/0.001291, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.52 kB / 0.814 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2979, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00236/0.3003, allocations: 0.6161 MB / 0.9517 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3022, allocations: 1.122 MB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.3023, allocations: 7.938 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3024, allocations: 0 / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3026, allocations: 7.922 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.3031, allocations: 119.7 kB / 0.953 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.3035, allocations: 199.6 kB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3036, allocations: 23.97 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3037, allocations: 79.89 kB / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.3039, allocations: 63.84 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.304, allocations: 16 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3041, allocations: 27.98 kB / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.3042, allocations: 35.89 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3043, allocations: 63.83 kB / 0.9535 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.3046, allocations: 203.4 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3046, allocations: 0 / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3046, allocations: 0 / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.3047, allocations: 0 / 0.9536 GB, free: 5.453 MB / 0.7325 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.0008496/0.3055, allocations: 455.8 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3056, allocations: 12.03 kB / 0.9541 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.3057, allocations: 12.84 kB / 0.9541 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.306, allocations: 216.2 kB / 0.9543 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3061, allocations: 8.375 kB / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.3061, allocations: 16.38 kB / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3063, allocations: 99.84 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3064, allocations: 192 / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.3064, allocations: 11.94 kB / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.3064, allocations: 0 / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.593e-05/0.3065, allocations: 43.95 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.3072, allocations: 492.8 kB / 0.955 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.841e-05/0.3073, allocations: 53.14 kB / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.3074, allocations: 37.69 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.3074, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.3076, allocations: 121 kB / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3076, allocations: 0 / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0003143/0.3079, allocations: 129.5 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.308, allocations: 85.11 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3082, allocations: 129.7 kB / 0.9555 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.3082, allocations: 33.7 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.3083, allocations: 104 kB / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.3083, allocations: 15.84 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3084, allocations: 49.69 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3086, allocations: 322.8 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.3088, allocations: 131.8 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.3091, allocations: 165.5 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.3094, allocations: 216.4 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3094, allocations: 3.938 kB / 0.9565 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005697/0.3099, allocations: 388.7 kB / 0.9568 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.31, allocations: 63.41 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.31, allocations: 4 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.31, allocations: 3.984 kB / 0.9569 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.343e-05/0.3101, allocations: 4 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3101, allocations: 0 / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.3105, allocations: 67.77 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.3105, allocations: 16.11 kB / 0.957 GB, free: 1.668 MB / 0.7325 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.0001455/0.3107, allocations: 133.8 kB / 0.9571 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.3107, allocations: 7.938 kB / 0.9571 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.3107, allocations: 11.89 kB / 0.9571 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3107, allocations: 4 kB / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3107, allocations: 0 / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3108, allocations: 4.312 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3109, allocations: 181.6 kB / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3109, allocations: 4 kB / 0.9573 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-06/0.311, allocations: 0 / 0.9573 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.311, allocations: 4 kB / 0.9573 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.311, allocations: 0 / 0.9573 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.311, allocations: 0 / 0.9573 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.311, allocations: 3.984 kB / 0.9573 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3112, allocations: 141.8 kB / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3112, allocations: 88.95 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3113, allocations: 7.984 kB / 0.9576 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.193e-05/0.3113, allocations: 4 kB / 0.9576 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.3113, allocations: 7.938 kB / 0.9576 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.3113, allocations: 7.938 kB / 0.9576 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.675e-05/0.3114, allocations: 107.2 kB / 0.9577 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3114, allocations: 0 / 0.9577 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002584/0.3117, allocations: 39.94 kB / 0.9577 GB, free: 0.8164 MB / 0.7325 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.0001762/0.3119, allocations: 111.2 kB / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004435/0.3123, allocations: 326.6 kB / 0.9581 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3123, allocations: 0 / 0.9581 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.728e-05/0.3124, allocations: 31.92 kB / 0.9582 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3127, allocations: 15.98 kB / 0.9582 GB, free: 316 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.3131, allocations: 214.6 kB / 0.9584 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3135, allocations: 0.7077 MB / 0.9591 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.3135, allocations: 4 kB / 0.9591 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.3136, allocations: 11.44 kB / 0.9591 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.3136, allocations: 0 / 0.9591 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of Templates: time 0.005764/0.3193, allocations: 2.255 MB / 0.9613 GB, free: 13.09 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches