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.001034/0.001034, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009736/0.0009738, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.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.562/2.562, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 16 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8949/0.8953, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001008/0.8963, allocations: 348 kB / 0.9539 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.8978, allocations: 1.075 MB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.8979, allocations: 0 / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.898, allocations: 9 kB / 0.9549 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.898, allocations: 9.891 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.8985, allocations: 104.9 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.8986, allocations: 92.03 kB / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.8987, allocations: 17.59 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.8988, allocations: 58.97 kB / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.568e-05/0.8989, allocations: 45.75 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.899, allocations: 8.031 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-05/0.899, allocations: 26.36 kB / 0.9553 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.8991, allocations: 26.91 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.8992, allocations: 37.45 kB / 0.9553 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.8993, allocations: 142.5 kB / 0.9555 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.8994, allocations: 0 / 0.9555 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8994, allocations: 1.156 kB / 0.9555 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8994, allocations: 4 kB / 0.9555 GB, free: 6.648 MB / 0.7169 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.0004466/0.8998, allocations: 427.7 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.8999, allocations: 9.594 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.115e-05/0.8999, allocations: 15.64 kB / 0.9559 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.9002, allocations: 216.7 kB / 0.9561 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.9002, allocations: 9.406 kB / 0.9561 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.9003, allocations: 10.19 kB / 0.9561 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.9004, allocations: 96.27 kB / 0.9562 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.9005, allocations: 4 kB / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.9005, allocations: 1.125 kB / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.9005, allocations: 1.219 kB / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.66e-05/0.9006, allocations: 50.47 kB / 0.9563 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.9011, allocations: 493.1 kB / 0.9567 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.32e-05/0.9012, allocations: 56.72 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.9012, allocations: 1.156 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.9014, allocations: 119.7 kB / 0.9569 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.9014, allocations: 3.984 kB / 0.9569 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003017/0.9017, allocations: 127.8 kB / 0.957 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.9017, allocations: 79.3 kB / 0.9571 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.9018, allocations: 142.7 kB / 0.9572 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.9019, allocations: 30.14 kB / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.9019, allocations: 99.38 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.902, allocations: 13.08 kB / 0.9574 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.902, allocations: 4.781 kB / 0.9574 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.851e-05/0.9021, allocations: 320.4 kB / 0.9577 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.9023, allocations: 123.4 kB / 0.9578 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.9025, allocations: 166.4 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.9027, allocations: 165.8 kB / 0.9581 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9028, allocations: 0 / 0.9581 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005539/0.9033, allocations: 384.1 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.9034, allocations: 68.97 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.9034, allocations: 2.75 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.9034, allocations: 9.312 kB / 0.9586 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.297e-05/0.9034, allocations: 6.734 kB / 0.9586 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.9035, allocations: 5.25 kB / 0.9586 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.9039, allocations: 92.72 kB / 0.9587 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.904, allocations: 17.03 kB / 0.9587 GB, free: 3.801 MB / 0.7169 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 ($PRE.booPul[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.9041, allocations: 130.8 kB / 0.9588 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.9041, allocations: 10.97 kB / 0.9588 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.9041, allocations: 10.59 kB / 0.9588 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.9042, allocations: 1.469 kB / 0.9588 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.9042, allocations: 0 / 0.9588 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.9042, allocations: 1.125 kB / 0.9588 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.9043, allocations: 188.2 kB / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9043, allocations: 0 / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-06/0.9043, allocations: 10.41 kB / 0.959 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.9043, allocations: 1.594 kB / 0.959 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.9043, allocations: 9.125 kB / 0.959 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9044, allocations: 0 / 0.959 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9044, allocations: 1.406 kB / 0.959 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.9045, allocations: 138.9 kB / 0.9592 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.9045, allocations: 95.45 kB / 0.9593 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.9046, allocations: 1.031 kB / 0.9593 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.9046, allocations: 1.031 kB / 0.9593 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.9046, allocations: 7.734 kB / 0.9593 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.9046, allocations: 2.031 kB / 0.9593 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.9047, allocations: 100.3 kB / 0.9594 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9047, allocations: 0 / 0.9594 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002478/0.9049, allocations: 31.91 kB / 0.9594 GB, free: 3.105 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001392/0.9051, allocations: 112.2 kB / 0.9595 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.9055, allocations: 323.4 kB / 0.9598 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9055, allocations: 1.094 kB / 0.9598 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.992e-05/0.9056, allocations: 34.59 kB / 0.9598 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.9058, allocations: 13.05 kB / 0.9599 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.9062, allocations: 237.1 kB / 0.9601 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.9064, allocations: 0.701 MB / 0.9608 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.1e-05/0.9064, allocations: 10.66 kB / 0.9608 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.9065, allocations: 14.19 kB / 0.9608 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9065, allocations: 0 / 0.9608 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.005563/0.912, allocations: 2.099 MB / 0.9628 GB, free: 0.7695 MB / 0.7169 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 -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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches