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.0007607/0.0007607, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008548/0.0008549, allocations: 172.7 kB / 15.95 MB, free: 208 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.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.453 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.509/2.509, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8108, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.000848/0.8117, allocations: 387.9 kB / 0.9542 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.8125, allocations: 0.8229 MB / 0.955 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.8126, allocations: 1.219 kB / 0.955 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.352e-05/0.8127, allocations: 7.922 kB / 0.955 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.33e-05/0.8128, allocations: 2.875 kB / 0.955 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.8129, allocations: 19.69 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.813, allocations: 64.23 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.8132, allocations: 22.77 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.8132, allocations: 20.95 kB / 0.9552 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.8133, allocations: 40.27 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.8133, allocations: 3.031 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.8133, allocations: 2.812 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.8134, allocations: 16.36 kB / 0.9552 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.8134, allocations: 33.27 kB / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.89e-05/0.8135, allocations: 68.23 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8135, allocations: 0.9062 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8135, allocations: 0 / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.8135, allocations: 0 / 0.9553 GB, free: 6.934 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.000557/0.8141, allocations: 405.4 kB / 0.9557 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.8142, allocations: 9.406 kB / 0.9557 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.8142, allocations: 38.12 kB / 0.9558 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.8142, allocations: 10.55 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.8144, allocations: 192.9 kB / 0.956 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.8144, allocations: 7.578 kB / 0.956 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.8144, allocations: 11.69 kB / 0.956 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.8148, allocations: 161.8 kB / 0.9561 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8148, allocations: 1.281 kB / 0.9561 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.8148, allocations: 4 kB / 0.9561 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.8149, allocations: 5.562 kB / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.8153, allocations: 180.3 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.8158, allocations: 448.9 kB / 0.9567 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.8161, allocations: 124.3 kB / 0.9569 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.8163, allocations: 90.14 kB / 0.9569 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.8163, allocations: 1.344 kB / 0.9569 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.8163, allocations: 39.52 kB / 0.957 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.8163, allocations: 0 / 0.957 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0007158/0.817, allocations: 257 kB / 0.9572 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.8171, allocations: 82.56 kB / 0.9573 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.8172, allocations: 122.2 kB / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.8172, allocations: 25.7 kB / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.8172, allocations: 113.3 kB / 0.9576 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.8172, allocations: 7.469 kB / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.8173, allocations: 0 / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.8173, allocations: 318.8 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.8175, allocations: 70.67 kB / 0.9579 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.8177, allocations: 87.08 kB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.8179, allocations: 72.73 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8179, allocations: 5.172 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003969/0.8183, allocations: 188.8 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.8183, allocations: 5.375 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8183, allocations: 384 / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8183, allocations: 1.812 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.8185, allocations: 31.88 kB / 0.9583 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.8185, allocations: 0 / 0.9583 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.8186, allocations: 30.38 kB / 0.9583 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.8186, allocations: 1.281 kB / 0.9583 GB, free: 4.406 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 9.001e-05/0.8187, allocations: 129.3 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.8188, allocations: 17.45 kB / 0.9585 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.8188, allocations: 11.05 kB / 0.9585 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8188, allocations: 0 / 0.9585 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.8188, allocations: 1.375 kB / 0.9585 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.8189, allocations: 0 / 0.9585 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.8191, allocations: 195.6 kB / 0.9587 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8191, allocations: 1.375 kB / 0.9587 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.8192, allocations: 35.17 kB / 0.9587 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8192, allocations: 5.375 kB / 0.9587 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.8193, allocations: 0 / 0.9587 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8193, allocations: 1.375 kB / 0.9587 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8193, allocations: 1.375 kB / 0.9587 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.8197, allocations: 358.8 kB / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.8198, allocations: 87.05 kB / 0.9591 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.8198, allocations: 7.938 kB / 0.9591 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.8199, allocations: 21.95 kB / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.82, allocations: 25.17 kB / 0.9592 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.82, allocations: 2.062 kB / 0.9592 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.8201, allocations: 93.36 kB / 0.9593 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8201, allocations: 0 / 0.9593 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002682/0.8204, allocations: 20.16 kB / 0.9593 GB, free: 3.516 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.0007767/0.8212, allocations: 0.8926 MB / 0.9602 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.8216, allocations: 157.5 kB / 0.9603 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8216, allocations: 0 / 0.9603 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.8219, allocations: 105.1 kB / 0.9604 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.8223, allocations: 14.58 kB / 0.9604 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.8237, allocations: 0.696 MB / 0.9611 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.8241, allocations: 0.704 MB / 0.9618 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.805e-05/0.8242, allocations: 25.59 kB / 0.9618 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.8242, allocations: 18.41 kB / 0.9618 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.8243, allocations: 0 / 0.9618 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.8384, allocations: 1.996 MB / 0.9638 GB, free: 436 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.8386, allocations: 212.8 kB / 0.964 GB, free: 188 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.56, allocations: 2.906 kB / 0.964 GB, free: 188 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