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.335/2.335, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001096/0.001096, allocations: 183.2 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.1 MB / 0.7992 GB, free: 14.82 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.0008397/0.0008396, allocations: 98.33 kB / 0.9396 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003581, allocations: 6.906 kB / 1.09 GB, free: 216.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.5156, allocations: 150.2 MB / 1.376 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.5159, allocations: 75.95 kB / 1.376 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009067/0.525, allocations: 3.032 MB / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5251, allocations: 0 / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.5251, allocations: 3.938 kB / 1.379 GB, free: 404 kB / 0.8698 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.0004624/0.5256, allocations: 431.4 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5256, allocations: 16.03 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.5257, allocations: 38.55 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.5257, allocations: 8 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.526, allocations: 226.8 kB / 1.38 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.526, allocations: 7.984 kB / 1.38 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.5261, allocations: 16 kB / 1.38 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.5263, allocations: 91.36 kB / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5263, allocations: 0 / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5263, allocations: 11.94 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5263, allocations: 8 kB / 1.38 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.5264, allocations: 43.89 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.5269, allocations: 488.8 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.982e-05/0.527, allocations: 53.2 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.527, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.5272, allocations: 129 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.5272, allocations: 0 / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0002692/0.5275, allocations: 129.5 kB / 1.381 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.5276, allocations: 85.11 kB / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.5277, allocations: 117 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.5277, allocations: 29.7 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.5278, allocations: 104 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.5278, allocations: 11.81 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.5279, allocations: 8 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.528, allocations: 314.8 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.5282, allocations: 127.9 kB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.5284, allocations: 168.9 kB / 1.382 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.5286, allocations: 183.3 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5286, allocations: 0 / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005404/0.5291, allocations: 400.6 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.5292, allocations: 67.39 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5292, allocations: 3.953 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5292, allocations: 4 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.674e-05/0.5292, allocations: 0 / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5293, allocations: 4 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.5296, allocations: 88.09 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.5297, allocations: 8 kB / 1.382 GB, free: 12.72 MB / 0.8855 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.0001197/0.5298, allocations: 150.5 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.5298, allocations: 7.906 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.5299, allocations: 8.219 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.5299, allocations: 7.953 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5299, allocations: 0 / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5299, allocations: 3.984 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.53, allocations: 185.6 kB / 1.383 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.53, allocations: 0 / 1.383 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.5301, allocations: 3.984 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.5301, allocations: 4 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.5301, allocations: 4 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5301, allocations: 0 / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5301, allocations: 3.953 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.5303, allocations: 147.6 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.5303, allocations: 85.02 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.5303, allocations: 0 / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.5304, allocations: 7.953 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.5304, allocations: 11.98 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.5304, allocations: 4 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.379e-05/0.5305, allocations: 99.75 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5305, allocations: 0 / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002434/0.5307, allocations: 43.98 kB / 1.383 GB, free: 11.86 MB / 0.8855 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.0004788/0.5312, allocations: 0.7617 MB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003996/0.5316, allocations: 322.6 kB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5316, allocations: 0 / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.239e-05/0.5317, allocations: 31.97 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.5319, allocations: 33.92 kB / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.5327, allocations: 1.21 MB / 1.385 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.533, allocations: 0.7043 MB / 1.386 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.533, allocations: 11.77 kB / 1.386 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.533, allocations: 23.44 kB / 1.386 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.5331, allocations: 0 / 1.386 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.5465, allocations: 3.122 MB / 1.389 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.5467, allocations: 209.8 kB / 1.389 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.235, allocations: 2.672 kB / 1.389 GB, free: 5.418 MB / 0.8855 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