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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001269/0.001269, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002048/0.002048, allocations: 194 kB / 16.25 MB, free: 6.633 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.658/1.658, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8058/0.8072, allocations: 140.4 MB / 0.9493 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001977/0.8092, allocations: 0.7183 MB / 0.95 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008086/0.81, allocations: 0.8337 MB / 0.9508 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.8101, allocations: 0 / 0.9508 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.8102, allocations: 9.312 kB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.8103, allocations: 9.359 kB / 0.9508 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.8104, allocations: 19.86 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.8105, allocations: 73.81 kB / 0.9509 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8107, allocations: 29.3 kB / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.8108, allocations: 35.2 kB / 0.9509 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.727e-05/0.8109, allocations: 42.17 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.8109, allocations: 5.844 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.8109, allocations: 4.531 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.811, allocations: 34.14 kB / 0.951 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.811, allocations: 36.61 kB / 0.9511 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.8111, allocations: 87.77 kB / 0.9511 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8112, allocations: 5.312 kB / 0.9511 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8112, allocations: 0 / 0.9511 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8112, allocations: 0 / 0.9511 GB, free: 7.684 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.0005702/0.8117, allocations: 393.1 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.8118, allocations: 10.06 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.8118, allocations: 41.73 kB / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.8119, allocations: 11.98 kB / 0.9516 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.812, allocations: 194.6 kB / 0.9518 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.8121, allocations: 11.06 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.8121, allocations: 8.375 kB / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.8124, allocations: 154.1 kB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.8124, allocations: 5.094 kB / 0.9519 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.8125, allocations: 4 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.8125, allocations: 2.375 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.8129, allocations: 156.9 kB / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.8133, allocations: 445.2 kB / 0.9525 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.8136, allocations: 119 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.8138, allocations: 73.33 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.8138, allocations: 5.156 kB / 0.9527 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.8139, allocations: 39.59 kB / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.8139, allocations: 0 / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000692/0.8146, allocations: 224.2 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.8146, allocations: 82.2 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.8147, allocations: 134 kB / 0.9532 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.8147, allocations: 26.89 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.8147, allocations: 103.1 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.8148, allocations: 5.75 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.8148, allocations: 20.66 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.8149, allocations: 322.1 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.8151, allocations: 61.02 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.8152, allocations: 88.84 kB / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.8156, allocations: 132.9 kB / 0.9539 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8156, allocations: 0 / 0.9539 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004363/0.8161, allocations: 161.8 kB / 0.954 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8161, allocations: 9.656 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8161, allocations: 1.062 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.8161, allocations: 0 / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.8163, allocations: 22.66 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.8163, allocations: 8.969 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.8164, allocations: 17.75 kB / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.8164, allocations: 0.9062 kB / 0.9541 GB, free: 5.102 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/0.8165, allocations: 132.5 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.8166, allocations: 7.5 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.8166, allocations: 12.73 kB / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.8166, allocations: 1.344 kB / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8166, allocations: 5.344 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.8166, allocations: 0 / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.8168, allocations: 200.2 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.8168, allocations: 1.25 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.817, allocations: 21.44 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.817, allocations: 0.9688 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.817, allocations: 5.375 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.817, allocations: 1.188 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.817, allocations: 3.938 kB / 0.9545 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.8175, allocations: 332.2 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.8175, allocations: 86.66 kB / 0.9549 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.8175, allocations: 9.406 kB / 0.9549 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.8177, allocations: 12.98 kB / 0.9549 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.8178, allocations: 24.84 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.8178, allocations: 6.266 kB / 0.9549 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.8178, allocations: 97.05 kB / 0.955 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8178, allocations: 1.062 kB / 0.955 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002715/0.8181, allocations: 15.28 kB / 0.955 GB, free: 4.219 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 (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.0006074/0.8187, allocations: 0.8706 MB / 0.9559 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.8192, allocations: 133.8 kB / 0.956 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8192, allocations: 1.406 kB / 0.956 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.8194, allocations: 92.48 kB / 0.9561 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.8197, allocations: 15.72 kB / 0.9561 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.8216, allocations: 1.696 MB / 0.9578 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.8218, allocations: 0.718 MB / 0.9585 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.817e-05/0.8218, allocations: 22.14 kB / 0.9585 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.8219, allocations: 24.23 kB / 0.9585 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8219, allocations: 0 / 0.9585 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.8334, allocations: 2.146 MB / 0.9606 GB, free: 12 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/0.8337, allocations: 225.3 kB / 0.9608 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.7, allocations: 0 / 0.9608 GB, free: 15.76 MB / 0.7325 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches