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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009242/0.0009242, allocations: 99.7 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.0009389/0.0009392, allocations: 177.3 kB / 15.94 MB, free: 228 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.3 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003777, allocations: 8 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7348/0.7352, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0008794/0.7361, allocations: 360.5 kB / 0.9539 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.7374, allocations: 1.074 MB / 0.955 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.7375, allocations: 0 / 0.955 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.526e-05/0.7376, allocations: 5.406 kB / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.7377, allocations: 17.27 kB / 0.955 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.7381, allocations: 103.8 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.7382, allocations: 92.97 kB / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.7383, allocations: 13.75 kB / 0.9552 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.7384, allocations: 58.72 kB / 0.9553 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.226e-05/0.7385, allocations: 46.44 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.7385, allocations: 7.5 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.7386, allocations: 22.39 kB / 0.9553 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.7387, allocations: 18.08 kB / 0.9554 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.7387, allocations: 45.67 kB / 0.9554 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.7389, allocations: 139.7 kB / 0.9555 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.7389, allocations: 0 / 0.9555 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7389, allocations: 0 / 0.9555 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7389, allocations: 1.031 kB / 0.9555 GB, free: 6.629 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.0004642/0.7394, allocations: 432.1 kB / 0.956 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7394, allocations: 8.781 kB / 0.956 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.7395, allocations: 32.59 kB / 0.956 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.7395, allocations: 15.83 kB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.7398, allocations: 218.2 kB / 0.9562 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.7398, allocations: 12.69 kB / 0.9562 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.7398, allocations: 13.77 kB / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.74, allocations: 99.92 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.74, allocations: 1.031 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.74, allocations: 1.062 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.74, allocations: 1.125 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.7401, allocations: 45.89 kB / 0.9564 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.7407, allocations: 493.2 kB / 0.9569 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.03e-05/0.7408, allocations: 60.8 kB / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.7408, allocations: 0 / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.741, allocations: 116.1 kB / 0.957 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.741, allocations: 3.938 kB / 0.957 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000297/0.7413, allocations: 132.5 kB / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.7413, allocations: 79.98 kB / 0.9572 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.7414, allocations: 133.1 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.7415, allocations: 30.67 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.7415, allocations: 103.4 kB / 0.9575 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.7416, allocations: 10.25 kB / 0.9575 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.7416, allocations: 7.906 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.526e-05/0.7416, allocations: 320.1 kB / 0.9578 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.7418, allocations: 120.5 kB / 0.9579 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.7421, allocations: 165.2 kB / 0.9581 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.7422, allocations: 174 kB / 0.9582 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.7423, allocations: 1.969 kB / 0.9582 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004842/0.7427, allocations: 383.3 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.7428, allocations: 68.42 kB / 0.9587 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7428, allocations: 5.719 kB / 0.9587 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.7428, allocations: 3.594 kB / 0.9587 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.128e-05/0.7429, allocations: 1.781 kB / 0.9587 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.7429, allocations: 1.781 kB / 0.9587 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.7433, allocations: 92.09 kB / 0.9588 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.7433, allocations: 21.61 kB / 0.9588 GB, free: 3.738 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 9.625e-05/0.7434, allocations: 134.3 kB / 0.9589 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.7435, allocations: 6.703 kB / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.7435, allocations: 10.66 kB / 0.9589 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7435, allocations: 1.375 kB / 0.9589 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7435, allocations: 0 / 0.9589 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7435, allocations: 1.375 kB / 0.9589 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.7436, allocations: 183.4 kB / 0.9591 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.7436, allocations: 9.359 kB / 0.9591 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-06/0.7437, allocations: 5.375 kB / 0.9591 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.7437, allocations: 5.328 kB / 0.9591 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.7437, allocations: 1.375 kB / 0.9591 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7437, allocations: 0 / 0.9591 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7437, allocations: 1.375 kB / 0.9591 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.7438, allocations: 147.6 kB / 0.9593 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.7439, allocations: 86.34 kB / 0.9594 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.7439, allocations: 1.375 kB / 0.9594 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.7439, allocations: 1.375 kB / 0.9594 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.7439, allocations: 6.734 kB / 0.9594 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.744, allocations: 2.75 kB / 0.9594 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.744, allocations: 100.2 kB / 0.9595 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.744, allocations: 0 / 0.9595 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000247/0.7443, allocations: 39.55 kB / 0.9595 GB, free: 3.039 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.0003649/0.7446, allocations: 0.7678 MB / 0.9603 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.745, allocations: 319.5 kB / 0.9606 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7451, allocations: 384 / 0.9606 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.822e-05/0.7451, allocations: 40.41 kB / 0.9606 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.7453, allocations: 16.86 kB / 0.9606 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006839/0.746, allocations: 1.208 MB / 0.9618 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.7462, allocations: 0.7091 MB / 0.9625 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.7462, allocations: 17.75 kB / 0.9625 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.7462, allocations: 18.44 kB / 0.9625 GB, free: 104 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7463, allocations: 0 / 0.9625 GB, free: 104 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.7592, allocations: 3.138 MB / 0.9656 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.7594, allocations: 201.2 kB / 0.9658 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.418, allocations: 1.25 kB / 0.9658 GB, free: 14.38 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat does not exist to compare? outputFormat=mat