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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008011/0.0008012, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005924/0.005924, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.604/2.604, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003942, allocations: 11.94 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.889/0.8894, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0009727/0.8904, allocations: 364.3 kB / 0.9554 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.8924, allocations: 1.113 MB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.8925, allocations: 1.281 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.8926, allocations: 7.938 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.8927, allocations: 5.094 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.8933, allocations: 115.8 kB / 0.9566 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.8936, allocations: 163 kB / 0.9568 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.8937, allocations: 14.34 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.8939, allocations: 67.97 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.8941, allocations: 50.95 kB / 0.9569 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.8942, allocations: 7.938 kB / 0.9569 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.8943, allocations: 22.67 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.8944, allocations: 18.86 kB / 0.9569 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.8945, allocations: 85.98 kB / 0.957 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.8949, allocations: 188.3 kB / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.8949, allocations: 1.062 kB / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.637e-06/0.8949, allocations: 0 / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.8949, allocations: 0 / 0.9572 GB, free: 6.102 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.0007309/0.8957, allocations: 423.8 kB / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.8957, allocations: 9.719 kB / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.8959, allocations: 12.97 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.8962, allocations: 213.2 kB / 0.9578 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.8962, allocations: 10.2 kB / 0.9578 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.8963, allocations: 14.81 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.8965, allocations: 97.48 kB / 0.9579 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.8965, allocations: 192 / 0.9579 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.8965, allocations: 11.94 kB / 0.958 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.8965, allocations: 1.375 kB / 0.958 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.8966, allocations: 39.12 kB / 0.958 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.8972, allocations: 0.4892 MB / 0.9585 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.818e-05/0.8973, allocations: 59.25 kB / 0.9585 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.8973, allocations: 28.83 kB / 0.9586 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.8974, allocations: 0 / 0.9586 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.8976, allocations: 124.5 kB / 0.9587 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.8976, allocations: 0 / 0.9587 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000418/0.898, allocations: 124.8 kB / 0.9588 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.8981, allocations: 86.86 kB / 0.9589 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.8982, allocations: 132 kB / 0.959 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.8983, allocations: 37.56 kB / 0.959 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.8984, allocations: 94.95 kB / 0.9591 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.8984, allocations: 18.48 kB / 0.9591 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.8985, allocations: 30.42 kB / 0.9592 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.8986, allocations: 329.4 kB / 0.9595 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.8988, allocations: 117.6 kB / 0.9596 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.899, allocations: 160.4 kB / 0.9598 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.8992, allocations: 225.1 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.8992, allocations: 0 / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006098/0.8999, allocations: 381.5 kB / 0.9603 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.197e-05/0.8999, allocations: 66.28 kB / 0.9604 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.9, allocations: 5.312 kB / 0.9604 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.9, allocations: 2.75 kB / 0.9604 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.982e-05/0.9, allocations: 10.92 kB / 0.9604 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.9, allocations: 1.375 kB / 0.9604 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.9006, allocations: 88.36 kB / 0.9605 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.9006, allocations: 13.52 kB / 0.9605 GB, free: 3.156 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 (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.0001397/0.9008, allocations: 133.8 kB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.9008, allocations: 11.98 kB / 0.9607 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.9008, allocations: 9.344 kB / 0.9607 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.9008, allocations: 0.875 kB / 0.9607 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.9009, allocations: 9.125 kB / 0.9607 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.9009, allocations: 9.562 kB / 0.9607 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.901, allocations: 179.8 kB / 0.9609 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.901, allocations: 0 / 0.9609 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.9011, allocations: 5.969 kB / 0.9609 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9011, allocations: 1.375 kB / 0.9609 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.9011, allocations: 1.5 kB / 0.9609 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.9011, allocations: 4.062 kB / 0.9609 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9011, allocations: 5.328 kB / 0.9609 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.9013, allocations: 133.3 kB / 0.961 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.9013, allocations: 83.22 kB / 0.9611 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.9014, allocations: 1.812 kB / 0.9611 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.588e-05/0.9014, allocations: 4.969 kB / 0.9611 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.9014, allocations: 10.03 kB / 0.9611 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.9015, allocations: 7.484 kB / 0.9611 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.9015, allocations: 100 kB / 0.9612 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9015, allocations: 0 / 0.9612 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003177/0.9019, allocations: 35.72 kB / 0.9612 GB, free: 2.461 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 (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.0002239/0.9021, allocations: 108.1 kB / 0.9613 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000562/0.9027, allocations: 324.6 kB / 0.9616 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9027, allocations: 1.188 kB / 0.9616 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.503e-05/0.9028, allocations: 35.66 kB / 0.9617 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.903, allocations: 26.55 kB / 0.9617 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.9036, allocations: 231.2 kB / 0.9619 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.9038, allocations: 0.696 MB / 0.9626 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.9038, allocations: 21.03 kB / 0.9626 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.9038, allocations: 11.28 kB / 0.9626 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.9038, allocations: 0 / 0.9626 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.006399/0.9102, allocations: 2.164 MB / 0.9647 GB, free: 92 kB / 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","/var/lib/jenkins/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