Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001717/0.001717, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003486/0.003486, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437 MB / 0.7103 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 67.89 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.714, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002021/0.716, allocations: 0.6239 MB / 1.018 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.7175, allocations: 1.117 MB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.7176, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.933e-05/0.7177, allocations: 7.875 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.618e-05/0.7178, allocations: 7.938 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.7183, allocations: 123.2 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.7186, allocations: 199.6 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.7187, allocations: 19.98 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.7188, allocations: 79.89 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.7189, allocations: 59.84 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.719, allocations: 16 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.7191, allocations: 28 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.7191, allocations: 23.91 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.7193, allocations: 67.81 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.7195, allocations: 205.5 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7195, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.073e-06/0.7196, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7196, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 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.0006052/0.7202, allocations: 454.6 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.7202, allocations: 12.03 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.7203, allocations: 12.84 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.7205, allocations: 220.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.7206, allocations: 8.375 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.7206, allocations: 16.36 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.7208, allocations: 95.86 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.7208, allocations: 4.188 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.7208, allocations: 7.938 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7208, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.668e-05/0.7209, allocations: 43.97 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.7214, allocations: 492.7 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.512e-05/0.7215, allocations: 57.14 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.7216, allocations: 29.75 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-06/0.7216, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.7217, allocations: 117 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.7218, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002715/0.722, allocations: 133.5 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.7221, allocations: 85.05 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.7222, allocations: 141.7 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.7222, allocations: 29.7 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.7223, allocations: 107.9 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.7223, allocations: 11.91 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.7225, allocations: 53.69 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7226, allocations: 326.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.7228, allocations: 123.9 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.723, allocations: 161 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.7233, allocations: 216.4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7233, allocations: 3.938 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005674/0.7239, allocations: 380.6 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.7239, allocations: 71.39 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.724, allocations: 4.312 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.724, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.724, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.724, allocations: 8.188 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.7244, allocations: 71.69 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.7245, allocations: 12 kB / 1.023 GB, free: 12.29 MB / 0.7794 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.0001215/0.7246, allocations: 133.8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.7246, allocations: 7.984 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.7247, allocations: 15.91 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7247, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.7247, allocations: 3.938 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.7247, allocations: 7.938 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.7248, allocations: 181.6 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7249, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.7249, allocations: 11.98 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7249, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.7249, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.7249, allocations: 4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7249, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.7251, allocations: 137.8 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.7251, allocations: 81.02 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.7252, allocations: 12.06 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.7252, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.7252, allocations: 15.86 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.7252, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.127e-05/0.7253, allocations: 107.3 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7253, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002585/0.7256, allocations: 28 kB / 1.024 GB, free: 11.46 MB / 0.7794 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.0001505/0.7258, allocations: 107.2 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.7262, allocations: 330.5 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7262, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.7263, allocations: 40.28 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.7266, allocations: 22.52 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.727, allocations: 211.3 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.7272, allocations: 0.7002 MB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.7273, allocations: 11.98 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.7273, allocations: 11.44 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7273, allocations: 4 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of Templates: time 0.004889/0.7322, allocations: 2.264 MB / 1.027 GB, free: 7.703 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches