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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.00173, allocations: 99.31 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.003029/0.00303, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.694/2.694, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.811/4.811, allocations: 409.2 MB / 0.6838 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006214/0.0006217, allocations: 15.98 kB / 0.8375 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587/1.588, allocations: 146.8 MB / 0.9809 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001428/1.589, allocations: 347.9 kB / 0.9812 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002486/1.592, allocations: 1.084 MB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/1.592, allocations: 0 / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/1.592, allocations: 11.92 kB / 0.9823 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/1.592, allocations: 3.984 kB / 0.9823 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/1.593, allocations: 110.5 kB / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000258/1.593, allocations: 83.89 kB / 0.9825 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/1.594, allocations: 19.97 kB / 0.9825 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/1.594, allocations: 51.91 kB / 0.9825 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/1.594, allocations: 51.84 kB / 0.9826 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/1.594, allocations: 12 kB / 0.9826 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/1.594, allocations: 20 kB / 0.9826 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.778e-05/1.594, allocations: 27.91 kB / 0.9826 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/1.594, allocations: 37.7 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/1.595, allocations: 142 kB / 0.9828 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.595, allocations: 0 / 0.9828 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.817e-06/1.595, allocations: 0 / 0.9828 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.595, allocations: 0 / 0.9828 GB, free: 4.238 MB / 0.7325 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.0008226/1.596, allocations: 422.4 kB / 0.9832 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.596, allocations: 12.03 kB / 0.9832 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.531e-05/1.596, allocations: 46.48 kB / 0.9833 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/1.596, allocations: 15.91 kB / 0.9833 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/1.596, allocations: 211 kB / 0.9835 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/1.596, allocations: 4 kB / 0.9835 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/1.596, allocations: 16 kB / 0.9835 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/1.597, allocations: 103.2 kB / 0.9836 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.597, allocations: 0 / 0.9836 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/1.597, allocations: 4 kB / 0.9836 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.597, allocations: 8 kB / 0.9836 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/1.597, allocations: 35.97 kB / 0.9837 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/1.598, allocations: 0.489 MB / 0.9841 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/1.598, allocations: 57.14 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/1.598, allocations: 0 / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/1.598, allocations: 117 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/1.598, allocations: 0 / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004485/1.599, allocations: 133.5 kB / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/1.599, allocations: 85.11 kB / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/1.599, allocations: 125.8 kB / 0.9846 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/1.599, allocations: 37.69 kB / 0.9847 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/1.599, allocations: 99.98 kB / 0.9848 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/1.599, allocations: 19.8 kB / 0.9848 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/1.599, allocations: 4 kB / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002457/1.6, allocations: 326.7 kB / 0.9851 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/1.6, allocations: 131.8 kB / 0.9852 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/1.6, allocations: 157 kB / 0.9854 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/1.601, allocations: 167.3 kB / 0.9855 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.601, allocations: 0 / 0.9855 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008874/1.602, allocations: 376.7 kB / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/1.602, allocations: 67.39 kB / 0.986 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.602, allocations: 0 / 0.986 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.602, allocations: 0 / 0.986 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.231e-05/1.602, allocations: 7.938 kB / 0.986 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.602, allocations: 4 kB / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/1.603, allocations: 97.19 kB / 0.9861 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/1.603, allocations: 11.98 kB / 0.9861 GB, free: 0.582 MB / 0.7325 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.0002392/1.603, allocations: 143.8 kB / 0.9862 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/1.603, allocations: 7.906 kB / 0.9862 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/1.603, allocations: 7.891 kB / 0.9862 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/1.603, allocations: 4 kB / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.603, allocations: 0 / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.603, allocations: 0 / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/1.603, allocations: 193.5 kB / 0.9864 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.603, allocations: 0 / 0.9864 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/1.603, allocations: 0 / 0.9864 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.603, allocations: 4 kB / 0.9864 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/1.603, allocations: 0 / 0.9864 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.603, allocations: 11.94 kB / 0.9864 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.603, allocations: 0 / 0.9864 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/1.604, allocations: 143.6 kB / 0.9866 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/1.604, allocations: 85.02 kB / 0.9866 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/1.604, allocations: 3.984 kB / 0.9866 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.389e-05/1.604, allocations: 4 kB / 0.9866 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/1.604, allocations: 8 kB / 0.9867 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/1.604, allocations: 4 kB / 0.9867 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001004/1.604, allocations: 103.7 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.604, allocations: 0 / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004101/1.604, allocations: 36 kB / 0.9868 GB, free: 15.73 MB / 0.7481 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.001029/1.606, allocations: 0.7584 MB / 0.9875 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007028/1.606, allocations: 326.6 kB / 0.9878 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.606, allocations: 0 / 0.9878 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/1.606, allocations: 35.89 kB / 0.9879 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/1.607, allocations: 24.36 kB / 0.9879 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/1.608, allocations: 1.202 MB / 0.9891 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/1.609, allocations: 0.7121 MB / 0.9898 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.711e-05/1.609, allocations: 8 kB / 0.9898 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/1.609, allocations: 27.42 kB / 0.9898 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of SimCode: time 7.92e-07/1.609, allocations: 0 / 0.9898 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/1.638, allocations: 3.132 MB / 0.9929 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/1.638, allocations: 208.6 kB / 0.9931 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.696, allocations: 0 / 0.9931 GB, free: 9.32 MB / 0.7481 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) Environment - environmentSimulation: 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