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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.36/2.36, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 188.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 221.3 MB / 0.7915 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009061/0.000906, allocations: 102.9 kB / 0.9318 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.132e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3107, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.928/1.239, allocations: 149.8 MB / 1.365 GB, free: 4.211 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/1.239, allocations: 68.56 kB / 1.365 GB, free: 4.172 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004426/1.243, allocations: 1.248 MB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.875e-06/1.243, allocations: 0 / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.304e-05/1.244, allocations: 11.94 kB / 1.366 GB, free: 3.043 MB / 0.823 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.0007385/1.244, allocations: 393.4 kB / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/1.244, allocations: 8.031 kB / 1.367 GB, free: 2.613 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.236e-05/1.244, allocations: 37.5 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/1.245, allocations: 11.91 kB / 1.367 GB, free: 2.559 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/1.245, allocations: 197.9 kB / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/1.245, allocations: 6.625 kB / 1.367 GB, free: 2.324 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/1.245, allocations: 4 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/1.245, allocations: 133.3 kB / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.245, allocations: 0 / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/1.245, allocations: 0 / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.245, allocations: 4 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/1.246, allocations: 101.1 kB / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/1.246, allocations: 442.8 kB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/1.247, allocations: 90.48 kB / 1.368 GB, free: 1.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/1.247, allocations: 48.52 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/1.247, allocations: 0 / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/1.247, allocations: 37.94 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 2.796e-06/1.247, allocations: 0 / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0003994/1.247, allocations: 99.92 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/1.247, allocations: 89.03 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/1.248, allocations: 115.8 kB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/1.248, allocations: 25.7 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/1.248, allocations: 95.77 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/1.248, allocations: 11.27 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/1.248, allocations: 0 / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002194/1.248, allocations: 318.5 kB / 1.369 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/1.248, allocations: 34.69 kB / 1.369 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/1.248, allocations: 45.25 kB / 1.369 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.409e-05/1.248, allocations: 31.22 kB / 1.369 GB, free: 0.625 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.248, allocations: 0 / 1.369 GB, free: 0.625 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001936/1.248, allocations: 103.7 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/1.248, allocations: 11.94 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.248, allocations: 0 / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.248, allocations: 8.062 kB / 1.369 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/1.249, allocations: 27.97 kB / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.249, allocations: 0 / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/1.249, allocations: 27.91 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.249, allocations: 0 / 1.369 GB, free: 468 kB / 0.823 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.u[1],intRep.u[2]) * Number of discrete 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.0001221/1.249, allocations: 115.9 kB / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/1.249, allocations: 0 / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/1.249, allocations: 19.47 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.249, allocations: 0 / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.249, allocations: 0 / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.249, allocations: 0 / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/1.249, allocations: 200.4 kB / 1.369 GB, free: 96 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.249, allocations: 0 / 1.369 GB, free: 96 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/1.25, allocations: 31.97 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/1.25, allocations: 0 / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.25, allocations: 4 kB / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.25, allocations: 5.203 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.25, allocations: 3.984 kB / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/1.25, allocations: 277.5 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/1.25, allocations: 93.05 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/1.25, allocations: 11.88 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/1.25, allocations: 23.86 kB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.269e-05/1.25, allocations: 23.2 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/1.25, allocations: 0.5 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.067e-05/1.25, allocations: 95.08 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.25, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002558/1.251, allocations: 23.88 kB / 1.37 GB, free: 15.5 MB / 0.8386 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.u[1],intRep.u[2]) * Number of discrete 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.0005546/1.251, allocations: 0.8919 MB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000174/1.251, allocations: 85.42 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.251, allocations: 0 / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/1.252, allocations: 58.45 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/1.252, allocations: 8.672 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/1.252, allocations: 185.2 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/1.253, allocations: 0.708 MB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.907e-05/1.253, allocations: 15.98 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/1.253, allocations: 26.23 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/1.253, allocations: 0 / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/1.266, allocations: 1.974 MB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/1.266, allocations: 188.2 kB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.853, allocations: 1.875 kB / 1.374 GB, free: 11.48 MB / 0.8386 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) 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