Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001676/0.001677, allocations: 190.7 kB / 17.35 MB, free: 5.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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 71.83 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9893/0.991, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001971/0.993, allocations: 0.6642 MB / 1.227 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.9944, allocations: 0.8273 MB / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.9945, allocations: 4 kB / 1.228 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.9946, allocations: 3.938 kB / 1.228 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.681e-05/0.9947, allocations: 3.938 kB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.9949, allocations: 19.97 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.995, allocations: 31.92 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.9951, allocations: 8 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.101e-05/0.9952, allocations: 23.91 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.9953, allocations: 15.92 kB / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.9953, allocations: 4 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.9953, allocations: 4 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.9954, allocations: 7.984 kB / 1.228 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.9955, allocations: 19.88 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.9956, allocations: 43.52 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9956, allocations: 0 / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9956, allocations: 4 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.9956, allocations: 0 / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005413/0.9962, allocations: 356.1 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.9962, allocations: 8.031 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.9963, allocations: 0.9375 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.9964, allocations: 184.3 kB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.9965, allocations: 4.375 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.9965, allocations: 384 / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.9967, allocations: 74.2 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.9968, allocations: 192 / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.9968, allocations: 3.938 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9968, allocations: 0 / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.997, allocations: 43.95 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.9974, allocations: 280.8 kB / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.9975, allocations: 42.55 kB / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.9976, allocations: 24.91 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.9977, allocations: 3.938 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.9977, allocations: 42.48 kB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/0.9977, allocations: 0 / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004389/0.9981, allocations: 89.59 kB / 1.229 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.9982, allocations: 51.41 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.9983, allocations: 105.8 kB / 1.229 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.9983, allocations: 25.7 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.9984, allocations: 88.09 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.9984, allocations: 4 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.9984, allocations: 17.84 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9985, allocations: 322.8 kB / 1.23 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.9986, allocations: 11.98 kB / 1.23 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.9987, allocations: 23.97 kB / 1.23 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.9989, allocations: 40.83 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.9989, allocations: 4 kB / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002071/0.9991, allocations: 73.61 kB / 1.23 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9991, allocations: 9.719 kB / 1.23 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9991, allocations: 0 / 1.23 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.9992, allocations: 0 / 1.23 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.9993, allocations: 7.984 kB / 1.23 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9993, allocations: 4 kB / 1.23 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.9993, allocations: 12.02 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.9994, allocations: 0 / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001457/0.9995, allocations: 118.3 kB / 1.23 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.9995, allocations: 0 / 1.23 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.9996, allocations: 11.05 kB / 1.23 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.9996, allocations: 0 / 1.23 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9996, allocations: 3.938 kB / 1.23 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.9996, allocations: 85.05 kB / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.9996, allocations: 0 / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.9997, allocations: 16.17 kB / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.9998, allocations: 4 kB / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002751/1, allocations: 148.9 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002838/1, allocations: 254.7 kB / 1.23 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.627e-05/1, allocations: 23.97 kB / 1.23 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.457e-05/1.001, allocations: 83.28 kB / 1.231 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of Backend: time 6.91e-07/1.001, allocations: 0 / 1.231 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004396/1.001, allocations: 100.6 kB / 1.231 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000505/1.001, allocations: 0.5764 MB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of Templates: time 0.002967/1.004, allocations: 0.6925 MB / 1.232 GB, free: 7.441 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches