Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.228/2.228, allocations: 390.3 MB / 402.8 MB, free: 6.633 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.001137/0.001137, allocations: 180.8 kB / 496.1 MB, free: 12.82 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.457/1.457, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009381/0.0009377, allocations: 91.62 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.787e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2772, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9709/1.248, allocations: 149.7 MB / 1.365 GB, free: 4.344 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.249, allocations: 69.5 kB / 1.365 GB, free: 4.309 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00247/1.251, allocations: 0.8234 MB / 1.366 GB, free: 3.562 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.913e-06/1.251, allocations: 0 / 1.366 GB, free: 3.562 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.878e-06/1.251, allocations: 0 / 1.366 GB, free: 3.562 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004172/1.251, allocations: 347.8 kB / 1.366 GB, free: 3.184 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.252, allocations: 12.03 kB / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/1.252, allocations: 33.81 kB / 1.366 GB, free: 3.133 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/1.252, allocations: 8.688 kB / 1.366 GB, free: 3.125 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/1.252, allocations: 182.4 kB / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/1.252, allocations: 0 / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/1.252, allocations: 4 kB / 1.366 GB, free: 2.906 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/1.252, allocations: 56.61 kB / 1.367 GB, free: 2.852 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.252, allocations: 0 / 1.367 GB, free: 2.852 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.252, allocations: 3.562 kB / 1.367 GB, free: 2.852 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.252, allocations: 0 / 1.367 GB, free: 2.852 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.076e-05/1.252, allocations: 15.38 kB / 1.367 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/1.253, allocations: 284.5 kB / 1.367 GB, free: 2.527 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.178e-05/1.253, allocations: 33.75 kB / 1.367 GB, free: 2.488 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/1.253, allocations: 12.11 kB / 1.367 GB, free: 2.477 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/1.253, allocations: 0 / 1.367 GB, free: 2.477 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/1.253, allocations: 37.38 kB / 1.367 GB, free: 2.434 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/1.253, allocations: 0 / 1.367 GB, free: 2.434 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001856/1.253, allocations: 48.45 kB / 1.367 GB, free: 2.383 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.253, allocations: 55.41 kB / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/1.253, allocations: 99.41 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/1.253, allocations: 25.7 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/1.253, allocations: 88.05 kB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/1.253, allocations: 10.92 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/1.253, allocations: 0 / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.253, allocations: 310.8 kB / 1.368 GB, free: 1.777 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/1.253, allocations: 6.875 kB / 1.368 GB, free: 1.773 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/1.253, allocations: 7.188 kB / 1.368 GB, free: 1.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/1.253, allocations: 8.062 kB / 1.368 GB, free: 1.762 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.253, allocations: 0 / 1.368 GB, free: 1.762 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.327e-05/1.254, allocations: 59.91 kB / 1.368 GB, free: 1.703 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.254, allocations: 8 kB / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.254, allocations: 0 / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.254, allocations: 0 / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/1.254, allocations: 15.94 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.254, allocations: 0.875 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/1.254, allocations: 16.02 kB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/1.254, allocations: 0 / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete 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 9.067e-05/1.254, allocations: 101 kB / 1.368 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/1.254, allocations: 4 kB / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/1.254, allocations: 10.42 kB / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.254, allocations: 0 / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.254, allocations: 3.953 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.254, allocations: 0 / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/1.254, allocations: 170.5 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.254, allocations: 0 / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/1.254, allocations: 15.98 kB / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.254, allocations: 0 / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/1.254, allocations: 0 / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.254, allocations: 0 / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.254, allocations: 0 / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/1.255, allocations: 150.4 kB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/1.255, allocations: 89 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/1.255, allocations: 0 / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/1.255, allocations: 10.88 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/1.255, allocations: 7.984 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/1.255, allocations: 0 / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.748e-05/1.255, allocations: 82.53 kB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.255, allocations: 0 / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000225/1.255, allocations: 15.89 kB / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete 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.0004232/1.255, allocations: 0.6838 MB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.784e-05/1.256, allocations: 17.94 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.256, allocations: 0 / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-05/1.256, allocations: 11.53 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/1.256, allocations: 5.203 kB / 1.369 GB, free: 228 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/1.256, allocations: 109.6 kB / 1.369 GB, free: 88 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/1.256, allocations: 0.6848 MB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.358e-05/1.257, allocations: 4 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/1.257, allocations: 14.81 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.257, allocations: 4.062 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/1.27, allocations: 1.222 MB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.27, allocations: 187 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/2.76, allocations: 3.938 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat does not exist to compare? outputFormat=mat