Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001255, allocations: 112.8 kB / 16.42 MB, free: 6.457 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.001294/0.001295, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 64.12 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9717/0.9732, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002445/0.9757, allocations: 0.6703 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.977, allocations: 0.8312 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.9771, allocations: 4 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.9772, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.9773, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.9775, allocations: 27.92 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.9777, allocations: 75.81 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.9779, allocations: 31.98 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.978, allocations: 35.89 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.9781, allocations: 47.77 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.9782, allocations: 8 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.875e-05/0.9782, allocations: 4 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.9783, allocations: 23.97 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.9783, allocations: 31.81 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.9785, allocations: 91.67 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9785, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9785, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.9786, allocations: 4 kB / 1.21 GB, free: 11.75 MB / 0.9356 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.0008336/0.9794, allocations: 396.9 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.9795, allocations: 12.03 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.9795, allocations: 8.844 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.9798, allocations: 196.1 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.9798, allocations: 12.36 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.9798, allocations: 4.375 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.9802, allocations: 155.8 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.9803, allocations: 4.172 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.9803, allocations: 7.938 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.9803, allocations: 0 / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.9808, allocations: 163.7 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.9814, allocations: 440.7 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.9817, allocations: 121.1 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.9819, allocations: 69.7 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.982, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.982, allocations: 38.48 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.982, allocations: 0 / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0007732/0.9828, allocations: 229.3 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.9828, allocations: 81.09 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.9829, allocations: 125.8 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.983, allocations: 25.7 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.983, allocations: 104.2 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.9831, allocations: 11.97 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.9831, allocations: 21.7 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9833, allocations: 318.8 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.9835, allocations: 63.91 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.9837, allocations: 77.64 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.9841, allocations: 129.5 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.9841, allocations: 0 / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004504/0.9845, allocations: 161.5 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9846, allocations: 4 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9846, allocations: 4 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.9846, allocations: 0 / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.9848, allocations: 23.91 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.9848, allocations: 4 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.9849, allocations: 24.34 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.9849, allocations: 0 / 1.213 GB, free: 8.508 MB / 0.9356 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 0.0001165/0.9851, allocations: 129.8 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.9851, allocations: 11.89 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.9852, allocations: 11.47 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9852, allocations: 0 / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9852, allocations: 7.938 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.9852, allocations: 84.95 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.9852, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.9854, allocations: 23.97 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.9855, allocations: 23.97 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006125/0.9861, allocations: 340 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005476/0.9867, allocations: 409.9 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002411/0.9869, allocations: 91.86 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.987, allocations: 95.27 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of Backend: time 6.71e-07/0.987, allocations: 0 / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006519/0.9877, allocations: 150.3 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006317/0.9883, allocations: 0.6235 MB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of Templates: time 0.004255/0.9926, allocations: 1.472 MB / 1.217 GB, free: 4.957 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches