Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_9_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.001092/0.001092, allocations: 100.9 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.001311/0.001311, 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 1.437/1.437, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003472, allocations: 15.98 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8066, allocations: 142.3 MB / 0.9536 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0007885/0.8074, allocations: 388 kB / 0.954 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000782/0.8082, allocations: 0.8276 MB / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.8083, allocations: 5.5 kB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.447e-05/0.8083, allocations: 7.922 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.8084, allocations: 2.25 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.387e-05/0.8085, allocations: 16.27 kB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.334e-05/0.8086, allocations: 35.88 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.8087, allocations: 26.89 kB / 0.9549 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.8088, allocations: 24.58 kB / 0.9549 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.8089, allocations: 32.42 kB / 0.9549 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.8089, allocations: 3.219 kB / 0.9549 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.8089, allocations: 1.781 kB / 0.9549 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.809, allocations: 21.61 kB / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.809, allocations: 33.14 kB / 0.955 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.363e-05/0.8091, allocations: 69.45 kB / 0.955 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.8091, allocations: 4 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8091, allocations: 0 / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.8091, allocations: 0 / 0.955 GB, free: 6.988 MB / 0.7169 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.0005514/0.8097, allocations: 393.7 kB / 0.9554 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.8097, allocations: 8.562 kB / 0.9554 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.8098, allocations: 45.23 kB / 0.9555 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.8098, allocations: 11.11 kB / 0.9555 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8099, allocations: 188.9 kB / 0.9557 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.81, allocations: 3.375 kB / 0.9557 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.81, allocations: 15.95 kB / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.8104, allocations: 162.4 kB / 0.9558 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8104, allocations: 1.312 kB / 0.9558 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.8104, allocations: 4 kB / 0.9558 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.8104, allocations: 2.219 kB / 0.9558 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.8109, allocations: 179.1 kB / 0.956 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.8114, allocations: 454.4 kB / 0.9565 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.8116, allocations: 123.7 kB / 0.9566 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.8117, allocations: 1.188 kB / 0.9566 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.8117, allocations: 35.88 kB / 0.9566 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.8117, allocations: 3.938 kB / 0.9566 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0007213/0.8124, allocations: 260.5 kB / 0.9569 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.8125, allocations: 82.7 kB / 0.9569 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.8126, allocations: 125.8 kB / 0.9571 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.8126, allocations: 25.7 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.8126, allocations: 96.2 kB / 0.9572 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.8126, allocations: 14.02 kB / 0.9572 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.8127, allocations: 4.062 kB / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.8127, allocations: 313.9 kB / 0.9575 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.8129, allocations: 69.77 kB / 0.9576 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.8131, allocations: 91.38 kB / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.8133, allocations: 73.55 kB / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8133, allocations: 0 / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004399/0.8138, allocations: 189.5 kB / 0.9579 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8138, allocations: 5.156 kB / 0.9579 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8138, allocations: 0 / 0.9579 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.8138, allocations: 1.25 kB / 0.9579 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.814, allocations: 34.67 kB / 0.9579 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.814, allocations: 5.438 kB / 0.9579 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.8141, allocations: 21.42 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.8142, allocations: 6.641 kB / 0.958 GB, free: 4.516 MB / 0.7169 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 8.633e-05/0.8143, allocations: 128.6 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.8143, allocations: 10.58 kB / 0.9581 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.8143, allocations: 13.27 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.8143, allocations: 5.062 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8144, allocations: 1.5 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.8144, allocations: 3.938 kB / 0.9581 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.8146, allocations: 192.4 kB / 0.9583 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8146, allocations: 0 / 0.9583 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.8147, allocations: 31.36 kB / 0.9583 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8147, allocations: 4.766 kB / 0.9583 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.8147, allocations: 5.438 kB / 0.9583 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8148, allocations: 5.188 kB / 0.9583 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8148, allocations: 0 / 0.9583 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.8152, allocations: 364.4 kB / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.8153, allocations: 87.16 kB / 0.9588 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.8153, allocations: 5.25 kB / 0.9588 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.8155, allocations: 26.19 kB / 0.9588 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.8155, allocations: 21.88 kB / 0.9588 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.8155, allocations: 1.188 kB / 0.9588 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.8156, allocations: 94.11 kB / 0.9589 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8156, allocations: 0 / 0.9589 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002671/0.8159, allocations: 19.12 kB / 0.9589 GB, free: 3.613 MB / 0.7169 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.0006243/0.8165, allocations: 0.9786 MB / 0.9599 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.817, allocations: 157.1 kB / 0.96 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.817, allocations: 1 kB / 0.96 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.8172, allocations: 106 kB / 0.9601 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.8174, allocations: 8.875 kB / 0.9602 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.8188, allocations: 0.8459 MB / 0.961 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.8189, allocations: 0.7094 MB / 0.9617 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.126e-05/0.819, allocations: 21.58 kB / 0.9617 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.819, allocations: 22.27 kB / 0.9617 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8191, allocations: 4.969 kB / 0.9617 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.8299, allocations: 1.981 MB / 0.9637 GB, free: 292 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/0.83, allocations: 200.7 kB / 0.9638 GB, free: 48 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.47, allocations: 0 / 0.9638 GB, free: 48 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat does not exist to compare? outputFormat=mat