Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_10_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.007778/0.007778, allocations: 105.4 kB / 15.74 MB, free: 6.039 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.001686/0.001686, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 437.1 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3348, allocations: 151.6 MB / 1.166 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001673/0.3365, allocations: 0.668 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008738/0.3374, allocations: 0.8393 MB / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.3375, allocations: 4 kB / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.11e-05/0.3376, allocations: 7.938 kB / 1.168 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.347e-05/0.3377, allocations: 7.922 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.649e-05/0.3378, allocations: 11.98 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3379, allocations: 79.81 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.338, allocations: 27.98 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.3381, allocations: 43.84 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.3382, allocations: 39.89 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.3383, allocations: 4 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.3383, allocations: 4 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.3383, allocations: 35.84 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.3384, allocations: 35.8 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.3385, allocations: 90.56 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3385, allocations: 3.938 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3385, allocations: 0 / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3386, allocations: 0 / 1.168 GB, free: 5.543 MB / 0.92 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.0005747/0.3391, allocations: 400.1 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3392, allocations: 8.031 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.3392, allocations: 38.75 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.3393, allocations: 12.83 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3394, allocations: 188.2 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.3394, allocations: 8.375 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3395, allocations: 8.312 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.3398, allocations: 171.8 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3398, allocations: 3.938 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3399, allocations: 4 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3399, allocations: 0 / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.3403, allocations: 151.8 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.3408, allocations: 436.8 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.3411, allocations: 121 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.3413, allocations: 77.7 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3413, allocations: 4 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3413, allocations: 30.56 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3413, allocations: 0 / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0006844/0.342, allocations: 233.3 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3421, allocations: 77.11 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3422, allocations: 129.7 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3422, allocations: 30.08 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.3423, allocations: 92.3 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.3423, allocations: 27.88 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.3423, allocations: 17.72 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.3424, allocations: 330.7 kB / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.3426, allocations: 59.92 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.3428, allocations: 77.62 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.3432, allocations: 129.6 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3432, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004104/0.3436, allocations: 165.5 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3436, allocations: 8 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3437, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3437, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.3438, allocations: 19.97 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3438, allocations: 7.938 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.344, allocations: 16.06 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.344, allocations: 4.062 kB / 1.171 GB, free: 2.246 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.797e-05/0.3441, allocations: 135.9 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.3441, allocations: 11.91 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.3442, allocations: 7.531 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3442, allocations: 4 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3442, allocations: 3.938 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3442, allocations: 3.984 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3444, allocations: 197.6 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3444, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.3446, allocations: 23.97 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3446, allocations: 4 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.3446, allocations: 0 / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3446, allocations: 0 / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3446, allocations: 3.938 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.3451, allocations: 338.5 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.3451, allocations: 81.11 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3451, allocations: 0 / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3453, allocations: 15.97 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.3454, allocations: 31.91 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3454, allocations: 0 / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.3455, allocations: 99.27 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3455, allocations: 288 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000267/0.3457, allocations: 19.84 kB / 1.172 GB, free: 1.188 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007636/0.3465, allocations: 0.8717 MB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.3469, allocations: 139.8 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.347, allocations: 0 / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.3472, allocations: 91.95 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3475, allocations: 11.94 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.3497, allocations: 1.68 MB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.3499, allocations: 0.704 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.233e-05/0.35, allocations: 19.98 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.3501, allocations: 27.42 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.3501, allocations: 4 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.3695, allocations: 2.41 MB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/8.028, allocations: 13.83 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches