Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.472/2.472, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 83.97 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.909e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2897, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.933/1.223, allocations: 150.1 MB / 1.365 GB, free: 3.938 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.223, allocations: 71.33 kB / 1.366 GB, free: 3.898 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009632/1.233, allocations: 3.015 MB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.234e-06/1.233, allocations: 3.938 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.05e-05/1.233, allocations: 7.562 kB / 1.368 GB, free: 1.258 MB / 0.823 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.0006363/1.233, allocations: 425.6 kB / 1.369 GB, free: 0.793 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/1.234, allocations: 12.03 kB / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/1.234, allocations: 30.56 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/1.234, allocations: 15.89 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/1.234, allocations: 220.7 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/1.234, allocations: 11.38 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/1.234, allocations: 15.98 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/1.234, allocations: 92.44 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.234, allocations: 4 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/1.234, allocations: 11.55 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.234, allocations: 0 / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/1.235, allocations: 35.23 kB / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007884/1.235, allocations: 491.2 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/1.235, allocations: 60.56 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/1.235, allocations: 25.64 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/1.235, allocations: 0 / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/1.236, allocations: 123.3 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/1.236, allocations: 0 / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003309/1.236, allocations: 106.7 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/1.236, allocations: 85.05 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/1.236, allocations: 123.3 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/1.236, allocations: 33.7 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/1.236, allocations: 103.9 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/1.236, allocations: 7.906 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/1.236, allocations: 11.81 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.237, allocations: 314.8 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/1.237, allocations: 122.2 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/1.237, allocations: 166.5 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/1.237, allocations: 183.1 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.237, allocations: 0 / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005756/1.238, allocations: 389 kB / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/1.238, allocations: 71.34 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.238, allocations: 0 / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.238, allocations: 4 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/1.238, allocations: 3.938 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.238, allocations: 4.188 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/1.238, allocations: 91.47 kB / 1.372 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/1.238, allocations: 11.98 kB / 1.372 GB, free: 13.89 MB / 0.8386 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 () * 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.0001094/1.239, allocations: 112.8 kB / 1.372 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/1.239, allocations: 7.906 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/1.239, allocations: 15.17 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.239, allocations: 4.031 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.239, allocations: 0 / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.239, allocations: 7.969 kB / 1.372 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/1.239, allocations: 189.2 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.239, allocations: 4 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/1.239, allocations: 7.875 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.239, allocations: 4 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/1.239, allocations: 0 / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.239, allocations: 3.953 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.239, allocations: 0 / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/1.239, allocations: 149.7 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/1.239, allocations: 77.11 kB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/1.239, allocations: 3.953 kB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/1.239, allocations: 4 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/1.239, allocations: 7.922 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/1.239, allocations: 4 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.277e-05/1.239, allocations: 106.2 kB / 1.372 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.239, allocations: 0 / 1.372 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002556/1.24, allocations: 39.56 kB / 1.372 GB, free: 13.1 MB / 0.8386 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 () * 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.000588/1.24, allocations: 0.7675 MB / 1.373 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004214/1.241, allocations: 327.3 kB / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.241, allocations: 384 / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.537e-05/1.241, allocations: 35.36 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/1.241, allocations: 13.02 kB / 1.374 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/1.241, allocations: 202.2 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.242, allocations: 0.7057 MB / 1.374 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.569e-05/1.242, allocations: 19.77 kB / 1.374 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/1.242, allocations: 18 kB / 1.374 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.242, allocations: 0 / 1.374 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/1.258, allocations: 3.147 MB / 1.378 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.258, allocations: 183.1 kB / 1.378 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.787, allocations: 0 / 1.378 GB, free: 7.82 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat does not exist to compare? outputFormat=mat