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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001357/0.001357, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.383/2.383, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 55.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.5523, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002005/0.5543, allocations: 0.7304 MB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008723/0.5552, allocations: 0.8351 MB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.5553, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.961e-05/0.5554, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.5555, allocations: 7.938 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.896e-05/0.5556, allocations: 15.98 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.829e-05/0.5557, allocations: 75.75 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.5558, allocations: 39.86 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.929e-05/0.5559, allocations: 31.91 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.5559, allocations: 35.84 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.556, allocations: 8 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.556, allocations: 4 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.556, allocations: 23.95 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.5561, allocations: 31.8 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.5562, allocations: 86 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5562, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5562, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.5563, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 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.000611/0.5569, allocations: 399.3 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5569, allocations: 12.03 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.557, allocations: 34.75 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.557, allocations: 16.77 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.5572, allocations: 192.2 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.5572, allocations: 4.375 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.5572, allocations: 8.375 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.5576, allocations: 161 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.5576, allocations: 3.938 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.5576, allocations: 7.938 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5577, allocations: 4 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.5581, allocations: 147.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.5586, allocations: 448.6 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.5589, allocations: 121.1 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.5591, allocations: 77.62 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.5591, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5592, allocations: 34.56 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5592, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0006889/0.5599, allocations: 229.4 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.5599, allocations: 77.11 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.56, allocations: 129.7 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.56, allocations: 25.95 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.5601, allocations: 107.9 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5601, allocations: 11.89 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.5601, allocations: 21.72 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.5602, allocations: 318.8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.5604, allocations: 59.92 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.5606, allocations: 89.56 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.561, allocations: 121.6 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.561, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004296/0.5614, allocations: 173.4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5615, allocations: 8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5615, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.118e-06/0.5615, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5616, allocations: 19.97 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5617, allocations: 7.938 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.5618, allocations: 20.03 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.5618, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 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.698e-05/0.5619, allocations: 126.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.5619, allocations: 7.906 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.562, allocations: 7.531 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.562, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.562, allocations: 3.938 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.562, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.5622, allocations: 201.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5622, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.5624, allocations: 28.28 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5624, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.5624, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5624, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5624, allocations: 7.875 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.5629, allocations: 334.8 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.5629, allocations: 85.02 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.5629, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.5631, allocations: 15.97 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.5632, allocations: 27.91 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.5632, allocations: 11.92 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.839e-05/0.5633, allocations: 99.2 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5633, allocations: 0 / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002604/0.5635, allocations: 15.94 kB / 1.023 GB, free: 12.46 MB / 0.7794 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.0007174/0.5642, allocations: 0.8678 MB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.5647, allocations: 135.8 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5647, allocations: 4.125 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.5649, allocations: 87.89 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.5652, allocations: 10.94 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.5672, allocations: 1.701 MB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.5674, allocations: 0.7043 MB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.586e-05/0.5675, allocations: 20.23 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.5676, allocations: 23.42 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5676, allocations: 4 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01023/0.5778, allocations: 2.075 MB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.578, allocations: 230.1 kB / 1.028 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.141, allocations: 0 / 1.028 GB, free: 6.582 MB / 0.7794 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