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: 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_10_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_10_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.001176/0.001176, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001178/0.001179, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.519/2.519, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.977/0.9794, allocations: 151.6 MB / 1.167 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002183/0.9816, allocations: 0.6739 MB / 1.168 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.9827, allocations: 0.8375 MB / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.9828, allocations: 0 / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.983, allocations: 11.92 kB / 1.169 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.9831, allocations: 3.938 kB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.9833, allocations: 19.97 kB / 1.169 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.9835, allocations: 67.83 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.9836, allocations: 39.97 kB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.9837, allocations: 35.86 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.9839, allocations: 39.88 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.9839, allocations: 12 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.073e-05/0.9839, allocations: 4 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.984, allocations: 27.92 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.9841, allocations: 35.78 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.9842, allocations: 83.75 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9842, allocations: 4 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9842, allocations: 0 / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.9842, allocations: 0 / 1.169 GB, free: 2.148 MB / 0.8887 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.0007385/0.985, allocations: 409 kB / 1.17 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.985, allocations: 8.922 kB / 1.17 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.9851, allocations: 8.844 kB / 1.17 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.9853, allocations: 192.2 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.9854, allocations: 8.375 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.9854, allocations: 4.375 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.9859, allocations: 163.8 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9859, allocations: 4.188 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.9859, allocations: 11.92 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.9859, allocations: 0 / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/0.9864, allocations: 151.8 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.9871, allocations: 444.8 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.9874, allocations: 125 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.9877, allocations: 73.64 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.9877, allocations: 8 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.9877, allocations: 30.56 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.9877, allocations: 0 / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0008122/0.9886, allocations: 233.5 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.9886, allocations: 81.11 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.9888, allocations: 125.8 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.9888, allocations: 25.7 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.9889, allocations: 99.97 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.9889, allocations: 11.81 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.989, allocations: 17.72 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9891, allocations: 326.9 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.9894, allocations: 59.92 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.9896, allocations: 81.56 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.99, allocations: 129.6 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.99, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004509/0.9904, allocations: 161.5 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.9905, allocations: 8.062 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.9905, allocations: 4 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.9905, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.9907, allocations: 19.97 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.9907, allocations: 4 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.9909, allocations: 23.91 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.9909, allocations: 0 / 1.172 GB, free: 14.9 MB / 0.9044 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.0001177/0.991, allocations: 125.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.9911, allocations: 11.91 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.9911, allocations: 7.531 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.9911, allocations: 3.984 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9911, allocations: 4 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.9912, allocations: 84.95 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.9912, allocations: 0 / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.9914, allocations: 19.97 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.9915, allocations: 28.28 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006079/0.9921, allocations: 324.1 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005705/0.9927, allocations: 425.9 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002494/0.9929, allocations: 83.89 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.993, allocations: 99.2 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of Backend: time 5.36e-06/0.993, allocations: 0 / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008259/0.9939, allocations: 163.3 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008742/0.9948, allocations: 0.6117 MB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.004422/0.9992, allocations: 1.472 MB / 1.175 GB, free: 11.36 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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