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.001564/0.001564, allocations: 99.86 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.002007/0.002007, allocations: 177.3 kB / 15.94 MB, free: 228 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.424/2.424, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.608/4.608, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007505/0.0007509, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455/1.456, allocations: 146.8 MB / 0.9809 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001458/1.457, allocations: 373.2 kB / 0.9812 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001912/1.459, allocations: 0.7908 MB / 0.982 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.811e-05/1.459, allocations: 4 kB / 0.982 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/1.459, allocations: 0 / 0.982 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/1.46, allocations: 4 kB / 0.982 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/1.46, allocations: 7.984 kB / 0.982 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/1.46, allocations: 35.83 kB / 0.9821 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/1.46, allocations: 19.98 kB / 0.9821 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/1.46, allocations: 15.98 kB / 0.9821 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/1.46, allocations: 19.86 kB / 0.9821 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/1.461, allocations: 4 kB / 0.9821 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/1.461, allocations: 0 / 0.9821 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/1.461, allocations: 15.97 kB / 0.9821 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/1.461, allocations: 37.64 kB / 0.9822 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/1.461, allocations: 50.14 kB / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.461, allocations: 8 kB / 0.9822 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.729e-06/1.461, allocations: 0 / 0.9822 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.057e-05/1.461, allocations: 0 / 0.9822 GB, free: 4.965 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.001135/1.462, allocations: 391 kB / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.44e-05/1.462, allocations: 12.03 kB / 0.9826 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/1.462, allocations: 38.55 kB / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/1.462, allocations: 7.906 kB / 0.9826 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/1.463, allocations: 183 kB / 0.9828 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/1.463, allocations: 0 / 0.9828 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/1.463, allocations: 4 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/1.463, allocations: 151.2 kB / 0.983 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.464, allocations: 0 / 0.983 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/1.464, allocations: 4 kB / 0.983 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/1.464, allocations: 4 kB / 0.983 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000627/1.464, allocations: 147.8 kB / 0.9831 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/1.465, allocations: 440.9 kB / 0.9835 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/1.466, allocations: 101.1 kB / 0.9836 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/1.466, allocations: 0 / 0.9836 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/1.466, allocations: 30.56 kB / 0.9837 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/1.466, allocations: 4.062 kB / 0.9837 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.001154/1.467, allocations: 229.4 kB / 0.9839 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.467, allocations: 77.11 kB / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/1.467, allocations: 126 kB / 0.9841 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/1.467, allocations: 25.86 kB / 0.9841 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/1.468, allocations: 103.9 kB / 0.9842 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/1.468, allocations: 3.984 kB / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/1.468, allocations: 0 / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002176/1.468, allocations: 318.8 kB / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/1.468, allocations: 67.92 kB / 0.9846 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/1.468, allocations: 73.66 kB / 0.9846 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/1.469, allocations: 67.92 kB / 0.9847 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.469, allocations: 0 / 0.9847 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006434/1.469, allocations: 161.4 kB / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/1.469, allocations: 4 kB / 0.9849 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.469, allocations: 0 / 0.9849 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.469, allocations: 0 / 0.9849 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/1.47, allocations: 28.03 kB / 0.9849 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.47, allocations: 4 kB / 0.9849 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/1.47, allocations: 23.98 kB / 0.9849 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/1.47, allocations: 0 / 0.9849 GB, free: 1.93 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.0001624/1.47, allocations: 125.8 kB / 0.985 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.574e-05/1.47, allocations: 11.91 kB / 0.9851 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/1.47, allocations: 11.52 kB / 0.9851 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.47, allocations: 0 / 0.9851 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/1.47, allocations: 0 / 0.9851 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.47, allocations: 0 / 0.9851 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/1.471, allocations: 185.6 kB / 0.9852 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.471, allocations: 0 / 0.9852 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/1.471, allocations: 27.97 kB / 0.9853 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.471, allocations: 8 kB / 0.9853 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/1.471, allocations: 0 / 0.9853 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.471, allocations: 0 / 0.9853 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.471, allocations: 3.938 kB / 0.9853 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/1.472, allocations: 336.4 kB / 0.9856 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/1.472, allocations: 81.02 kB / 0.9857 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/1.472, allocations: 8.406 kB / 0.9857 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/1.472, allocations: 19.97 kB / 0.9857 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/1.472, allocations: 11.98 kB / 0.9857 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/1.473, allocations: 0 / 0.9857 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001072/1.473, allocations: 99.2 kB / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.473, allocations: 0 / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000561/1.473, allocations: 8 kB / 0.9858 GB, free: 0.9102 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.001587/1.475, allocations: 0.9422 MB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007617/1.476, allocations: 127.8 kB / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.476, allocations: 4.062 kB / 0.9869 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/1.476, allocations: 75.92 kB / 0.9869 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/1.476, allocations: 21.47 kB / 0.987 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/1.479, allocations: 0.7759 MB / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/1.48, allocations: 0.7004 MB / 0.9884 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.7e-05/1.48, allocations: 19.97 kB / 0.9884 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/1.48, allocations: 11.44 kB / 0.9884 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of SimCode: time 8.12e-07/1.48, allocations: 0 / 0.9884 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/1.5, allocations: 1.512 MB / 0.9899 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000369/1.501, allocations: 198.4 kB / 0.9901 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/4.189, allocations: 0 / 0.9901 GB, free: 12.55 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