Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.001654/0.001654, allocations: 100.1 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.001834/0.001834, 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.836/2.836, 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.982/4.982, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006489, allocations: 8 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557/1.557, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001489/1.559, allocations: 397.2 kB / 0.9813 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00141/1.561, allocations: 0.8257 MB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/1.561, allocations: 0 / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/1.561, allocations: 3.938 kB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/1.561, allocations: 7.969 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/1.561, allocations: 19.92 kB / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/1.561, allocations: 35.91 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/1.562, allocations: 27.97 kB / 0.9822 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/1.562, allocations: 23.91 kB / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/1.562, allocations: 23.92 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/1.562, allocations: 0 / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.607e-05/1.562, allocations: 4 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/1.562, allocations: 27.95 kB / 0.9822 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/1.562, allocations: 37.64 kB / 0.9823 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/1.562, allocations: 66.12 kB / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.562, allocations: 0 / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.669e-06/1.562, allocations: 3.938 kB / 0.9823 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.914e-06/1.562, allocations: 0 / 0.9823 GB, free: 4.777 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001097/1.563, allocations: 395.1 kB / 0.9827 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.21e-05/1.564, allocations: 12.03 kB / 0.9827 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.263e-05/1.564, allocations: 34.56 kB / 0.9828 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/1.564, allocations: 7.906 kB / 0.9828 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/1.564, allocations: 194.9 kB / 0.9829 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/1.564, allocations: 4 kB / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/1.564, allocations: 11.94 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/1.565, allocations: 174.1 kB / 0.9831 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.565, allocations: 0 / 0.9831 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/1.565, allocations: 8 kB / 0.9831 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/1.565, allocations: 0 / 0.9831 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/1.566, allocations: 179.8 kB / 0.9833 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009829/1.567, allocations: 440.7 kB / 0.9837 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/1.567, allocations: 129.1 kB / 0.9838 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/1.567, allocations: 7.922 kB / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/1.568, allocations: 34.62 kB / 0.9839 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/1.568, allocations: 0 / 0.9839 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.001462/1.569, allocations: 257.5 kB / 0.9841 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/1.569, allocations: 81.11 kB / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/1.569, allocations: 125.9 kB / 0.9843 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/1.569, allocations: 25.7 kB / 0.9844 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.57, allocations: 104.3 kB / 0.9845 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/1.57, allocations: 7.891 kB / 0.9845 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/1.57, allocations: 0 / 0.9845 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002184/1.57, allocations: 326.8 kB / 0.9848 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/1.57, allocations: 79.86 kB / 0.9849 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/1.571, allocations: 86 kB / 0.9849 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/1.571, allocations: 67.94 kB / 0.985 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.571, allocations: 0 / 0.985 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0009415/1.572, allocations: 189.4 kB / 0.9852 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/1.572, allocations: 11.94 kB / 0.9852 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.572, allocations: 0 / 0.9852 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.572, allocations: 0 / 0.9852 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/1.573, allocations: 32.03 kB / 0.9852 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/1.573, allocations: 0 / 0.9852 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/1.573, allocations: 27.97 kB / 0.9852 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/1.573, allocations: 3.938 kB / 0.9853 GB, free: 1.523 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0002566/1.573, allocations: 129.8 kB / 0.9854 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/1.573, allocations: 7.906 kB / 0.9854 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/1.573, allocations: 15.52 kB / 0.9854 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/1.573, allocations: 0 / 0.9854 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.573, allocations: 0 / 0.9854 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.573, allocations: 4 kB / 0.9854 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/1.574, allocations: 193.6 kB / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.574, allocations: 0 / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/1.574, allocations: 27.97 kB / 0.9856 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.574, allocations: 4 kB / 0.9856 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/1.574, allocations: 4 kB / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.574, allocations: 0 / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.574, allocations: 0 / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.575, allocations: 372.4 kB / 0.986 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/1.576, allocations: 93 kB / 0.9861 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/1.576, allocations: 0 / 0.9861 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/1.576, allocations: 19.98 kB / 0.9861 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/1.576, allocations: 27.95 kB / 0.9861 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/1.576, allocations: 0 / 0.9861 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001154/1.576, allocations: 95.27 kB / 0.9862 GB, free: 460 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/1.576, allocations: 0 / 0.9862 GB, free: 460 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005446/1.577, allocations: 15.94 kB / 0.9862 GB, free: 444 kB / 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.001734/1.579, allocations: 0.9772 MB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008679/1.58, allocations: 155.8 kB / 0.9873 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.58, allocations: 4.219 kB / 0.9873 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004441/1.58, allocations: 108 kB / 0.9874 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/1.58, allocations: 11.92 kB / 0.9874 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/1.583, allocations: 0.8466 MB / 0.9883 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/1.584, allocations: 0.7043 MB / 0.989 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001269/1.584, allocations: 19.98 kB / 0.989 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/1.584, allocations: 27.42 kB / 0.989 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/1.584, allocations: 4 kB / 0.989 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/1.61, allocations: 1.976 MB / 0.9909 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007049/1.611, allocations: 212 kB / 0.9911 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/4.603, allocations: 0 / 0.9911 GB, free: 11.43 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat does not exist to compare? outputFormat=mat