Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",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.0009885/0.0009881, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001062/0.001062, allocations: 168.7 kB / 15.95 MB, free: 204 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.513/1.513, allocations: 223.2 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.481/2.481, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003558, allocations: 19.94 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8393, allocations: 146.8 MB / 0.9812 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.0008768/0.8402, allocations: 373.1 kB / 0.9815 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.8413, allocations: 0.7924 MB / 0.9823 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.8414, allocations: 0 / 0.9823 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.327e-05/0.8415, allocations: 3.938 kB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.8416, allocations: 11.98 kB / 0.9823 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.618e-05/0.8417, allocations: 11.92 kB / 0.9823 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.8418, allocations: 43.91 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.8419, allocations: 11.98 kB / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.725e-05/0.842, allocations: 23.86 kB / 0.9824 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.8421, allocations: 15.92 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.8421, allocations: 4 kB / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.8421, allocations: 4 kB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.8422, allocations: 23.91 kB / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.8422, allocations: 29.7 kB / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.8423, allocations: 54.14 kB / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8424, allocations: 0 / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8424, allocations: 0 / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.8424, allocations: 0 / 0.9825 GB, free: 4.828 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.0006672/0.8431, allocations: 387.1 kB / 0.9829 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.8431, allocations: 16.02 kB / 0.9829 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.8432, allocations: 38.5 kB / 0.9829 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.8432, allocations: 7.906 kB / 0.9829 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.8435, allocations: 183 kB / 0.9831 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.8435, allocations: 0 / 0.9831 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.8435, allocations: 4 kB / 0.9831 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.8439, allocations: 151.2 kB / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.8439, allocations: 0 / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.8439, allocations: 3.984 kB / 0.9833 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.844, allocations: 4 kB / 0.9833 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.8443, allocations: 143.8 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.8451, allocations: 447.2 kB / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.8453, allocations: 101.1 kB / 0.9839 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.8455, allocations: 77.7 kB / 0.984 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.8455, allocations: 7.938 kB / 0.984 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.8456, allocations: 34.5 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8456, allocations: 4 kB / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0006398/0.8462, allocations: 229.4 kB / 0.9843 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.8463, allocations: 81.11 kB / 0.9843 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.8464, allocations: 114.2 kB / 0.9845 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.8464, allocations: 29.7 kB / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.8465, allocations: 99.97 kB / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.8465, allocations: 4 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.8465, allocations: 0 / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.8467, allocations: 322.8 kB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.8469, allocations: 67.88 kB / 0.985 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.847, allocations: 73.64 kB / 0.985 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.8472, allocations: 60 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8472, allocations: 0 / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003528/0.8476, allocations: 157.5 kB / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.8476, allocations: 11.94 kB / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8476, allocations: 3.984 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.8476, allocations: 4.062 kB / 0.9853 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.8478, allocations: 19.98 kB / 0.9853 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8478, allocations: 0 / 0.9853 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/0.8479, allocations: 23.97 kB / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.8479, allocations: 0 / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001125/0.848, allocations: 129.8 kB / 0.9854 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.8481, allocations: 7.906 kB / 0.9854 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.8481, allocations: 7.531 kB / 0.9854 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8481, allocations: 4 kB / 0.9854 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8481, allocations: 0 / 0.9854 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8481, allocations: 3.984 kB / 0.9854 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.8484, allocations: 177.6 kB / 0.9856 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.8484, allocations: 4 kB / 0.9856 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.8485, allocations: 27.97 kB / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8485, allocations: 384 / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.8486, allocations: 0 / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.8486, allocations: 4 kB / 0.9856 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8486, allocations: 3.938 kB / 0.9856 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.8491, allocations: 342.5 kB / 0.986 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.8491, allocations: 81.02 kB / 0.9861 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.8491, allocations: 4.031 kB / 0.9861 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.8493, allocations: 23.97 kB / 0.9861 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.8493, allocations: 7.984 kB / 0.9861 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.8494, allocations: 0 / 0.9861 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.8494, allocations: 91.27 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8494, allocations: 4 kB / 0.9862 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002673/0.8497, allocations: 12 kB / 0.9862 GB, free: 0.6992 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008536/0.8506, allocations: 0.8561 MB / 0.987 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.851, allocations: 135.9 kB / 0.9872 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.851, allocations: 0 / 0.9872 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.8512, allocations: 79.98 kB / 0.9872 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.8516, allocations: 4 kB / 0.9872 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.8529, allocations: 0.6367 MB / 0.9879 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.8533, allocations: 0.7004 MB / 0.9885 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.8533, allocations: 15.98 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.8534, allocations: 15.44 kB / 0.9886 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8534, allocations: 0 / 0.9886 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.8663, allocations: 1.533 MB / 0.9901 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.8665, allocations: 205.8 kB / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.673, allocations: 0 / 0.9903 GB, free: 12.57 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat does not exist to compare? outputFormat=mat