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.001054/0.001054, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.00117/0.00117, allocations: 172.7 kB / 15.95 MB, free: 208 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.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.567/2.567, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 12 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7322, allocations: 146.8 MB / 0.9812 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0007409/0.733, allocations: 355.9 kB / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.7342, allocations: 1.08 MB / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.7343, allocations: 0 / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.776e-05/0.7344, allocations: 3.938 kB / 0.9826 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.715e-05/0.7344, allocations: 11.98 kB / 0.9826 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.7348, allocations: 106.7 kB / 0.9827 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.735, allocations: 155.7 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.7351, allocations: 15.94 kB / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.7352, allocations: 63.81 kB / 0.9829 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.7353, allocations: 47.88 kB / 0.9829 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.7353, allocations: 8 kB / 0.9829 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.7354, allocations: 23.98 kB / 0.983 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.7354, allocations: 27.89 kB / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.7355, allocations: 45.64 kB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.7357, allocations: 138 kB / 0.9832 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.7357, allocations: 7.984 kB / 0.9832 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7357, allocations: 0 / 0.9832 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.7357, allocations: 0 / 0.9832 GB, free: 4.188 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.0004643/0.7362, allocations: 418.5 kB / 0.9836 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7362, allocations: 8.031 kB / 0.9836 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.7363, allocations: 38.56 kB / 0.9836 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.7363, allocations: 15.91 kB / 0.9836 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.7365, allocations: 211 kB / 0.9838 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.7366, allocations: 7.984 kB / 0.9838 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.7366, allocations: 12 kB / 0.9839 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.7368, allocations: 103.2 kB / 0.984 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.7368, allocations: 0 / 0.984 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.7368, allocations: 4 kB / 0.984 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.7368, allocations: 0 / 0.984 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.705e-05/0.7369, allocations: 43.91 kB / 0.984 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.7374, allocations: 496.7 kB / 0.9845 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.213e-05/0.7375, allocations: 57.12 kB / 0.9845 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.7376, allocations: 29.77 kB / 0.9846 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.7376, allocations: 0 / 0.9846 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.7377, allocations: 124.9 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.7378, allocations: 0 / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002668/0.738, allocations: 137.5 kB / 0.9848 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.7381, allocations: 77.11 kB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.7382, allocations: 129.8 kB / 0.985 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.7382, allocations: 41.69 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.7383, allocations: 99.97 kB / 0.9851 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.7383, allocations: 15.81 kB / 0.9852 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.7384, allocations: 4 kB / 0.9852 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7385, allocations: 326.7 kB / 0.9855 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.7387, allocations: 127.9 kB / 0.9856 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.7389, allocations: 161 kB / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.7391, allocations: 167.2 kB / 0.9859 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7391, allocations: 0 / 0.9859 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000541/0.7397, allocations: 376.7 kB / 0.9863 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.7397, allocations: 67.39 kB / 0.9863 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7397, allocations: 0 / 0.9863 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7398, allocations: 4 kB / 0.9863 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.865e-05/0.7398, allocations: 0 / 0.9863 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.7398, allocations: 4 kB / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.7402, allocations: 96.88 kB / 0.9864 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.7402, allocations: 11.98 kB / 0.9864 GB, free: 0.5117 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.0001351/0.7404, allocations: 145.7 kB / 0.9866 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.7404, allocations: 7.906 kB / 0.9866 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.7404, allocations: 11.89 kB / 0.9866 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7405, allocations: 3.938 kB / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7405, allocations: 0 / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7405, allocations: 0 / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.7406, allocations: 193.6 kB / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7407, allocations: 0 / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/0.7407, allocations: 4 kB / 0.9868 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7407, allocations: 0 / 0.9868 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.7407, allocations: 0 / 0.9868 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7407, allocations: 8 kB / 0.9868 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7407, allocations: 0 / 0.9868 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.7409, allocations: 137.8 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.741, allocations: 81.02 kB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.741, allocations: 3.984 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.233e-05/0.741, allocations: 4 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.741, allocations: 4.375 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.7411, allocations: 12.06 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.005e-05/0.7411, allocations: 99.25 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7411, allocations: 0 / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002596/0.7414, allocations: 32 kB / 0.9872 GB, free: 15.68 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.0004835/0.7419, allocations: 0.6804 MB / 0.9878 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.7423, allocations: 326.6 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7424, allocations: 0 / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.577e-05/0.7424, allocations: 35.97 kB / 0.9882 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.7427, allocations: 20.48 kB / 0.9882 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.7441, allocations: 1.019 MB / 0.9892 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.7444, allocations: 0.7004 MB / 0.9899 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.7445, allocations: 8 kB / 0.9899 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.7445, allocations: 23.42 kB / 0.9899 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of SimCode: time 2.164e-06/0.7445, allocations: 0 / 0.9899 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.758, allocations: 3.171 MB / 0.993 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.7582, allocations: 209.9 kB / 0.9932 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.657, allocations: 0 / 0.9932 GB, free: 9.527 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