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 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.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.007817/0.007817, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001616/0.001616, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.916/2.916, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3926, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001711/0.3943, allocations: 0.6715 MB / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.3952, allocations: 0.8156 MB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.3952, allocations: 4 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.098e-05/0.3953, allocations: 3.938 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 1.732e-05/0.3953, allocations: 3.938 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.3955, allocations: 27.97 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.3956, allocations: 27.92 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3957, allocations: 11.98 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.3958, allocations: 19.92 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.3958, allocations: 15.92 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3958, allocations: 4 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.3959, allocations: 0 / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.3959, allocations: 15.92 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.396, allocations: 19.86 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.3961, allocations: 39.88 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3961, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3961, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.3961, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 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.0004823/0.3966, allocations: 355.4 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3966, allocations: 8.625 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.3967, allocations: 4.844 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3968, allocations: 172.3 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3969, allocations: 12.38 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.3969, allocations: 384 / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3971, allocations: 66.22 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3971, allocations: 4.188 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3971, allocations: 3.938 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3971, allocations: 0 / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.3973, allocations: 43.95 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.3977, allocations: 288.6 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3979, allocations: 46.55 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/0.398, allocations: 16.91 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.398, allocations: 0 / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.398, allocations: 46.55 kB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.398, allocations: 0 / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003693/0.3984, allocations: 85.58 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.3984, allocations: 51.41 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.3985, allocations: 109.8 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3985, allocations: 25.7 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.3986, allocations: 88.17 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.3986, allocations: 8 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.3987, allocations: 17.7 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3988, allocations: 314.8 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.3989, allocations: 15.98 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.399, allocations: 23.97 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3991, allocations: 44.83 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3991, allocations: 0 / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002169/0.3994, allocations: 73.56 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3994, allocations: 9.562 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3994, allocations: 0 / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3994, allocations: 0 / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3995, allocations: 11.98 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3995, allocations: 4.031 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.3996, allocations: 11.92 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3996, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 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.0001081/0.3997, allocations: 113.8 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3998, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.3998, allocations: 11.11 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3998, allocations: 0 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3998, allocations: 0 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3998, allocations: 4 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.4, allocations: 169.6 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4, allocations: 3.938 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/0.4001, allocations: 11.98 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4001, allocations: 3.938 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4001, allocations: 4 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4001, allocations: 256 / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4001, allocations: 0 / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.4004, allocations: 171.5 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.4004, allocations: 81.02 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.4005, allocations: 4 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.4006, allocations: 3.984 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.4006, allocations: 7.984 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.4006, allocations: 3.984 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.4007, allocations: 83.28 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4007, allocations: 4.031 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002176/0.4009, allocations: 8 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001232/0.401, allocations: 99.19 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.4013, allocations: 47.89 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4013, allocations: 0 / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.4014, allocations: 24.03 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.4016, allocations: 8 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.4019, allocations: 125.4 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.4022, allocations: 0.6807 MB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.4022, allocations: 7.984 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.4023, allocations: 7.438 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of SimCode: time 1.633e-06/0.4023, allocations: 4.062 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.00261/0.4049, allocations: 0.6382 MB / 1.213 GB, free: 3.348 MB / 0.9669 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/jenkins/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