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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00115/0.00115, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001428/0.001428, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.937/2.937, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 14.66 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3891, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001304/0.3904, allocations: 391.3 kB / 1.058 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.392, allocations: 0.8196 MB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.3921, allocations: 8 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.3922, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.3923, allocations: 3.938 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3925, allocations: 15.98 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3926, allocations: 27.92 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3927, allocations: 8 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.3928, allocations: 11.97 kB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.3929, allocations: 15.92 kB / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3929, allocations: 0 / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.393, allocations: 11.94 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.393, allocations: 11.92 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.3931, allocations: 29.7 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.06e-05/0.3932, allocations: 19.95 kB / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3932, allocations: 0 / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3932, allocations: 0 / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3932, allocations: 0 / 1.059 GB, free: 3.965 MB / 0.8106 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.0006557/0.3939, allocations: 355.5 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.3939, allocations: 8.031 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.394, allocations: 3.906 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3942, allocations: 175 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3943, allocations: 4 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3943, allocations: 3.953 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.3945, allocations: 69.61 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3946, allocations: 0 / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3946, allocations: 7.984 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3946, allocations: 0 / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.3948, allocations: 55.95 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3953, allocations: 284.7 kB / 1.06 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3955, allocations: 46.48 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.476e-05/0.3956, allocations: 36.84 kB / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3956, allocations: 0 / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3956, allocations: 34.56 kB / 1.06 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3956, allocations: 0 / 1.06 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000413/0.396, allocations: 105.6 kB / 1.06 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3961, allocations: 55.39 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.3962, allocations: 101.9 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3962, allocations: 25.7 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.3963, allocations: 95.97 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.3963, allocations: 0 / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.3963, allocations: 4.125 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3965, allocations: 318.8 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.3966, allocations: 19.98 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.3967, allocations: 27.97 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.847e-05/0.3968, allocations: 24.05 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3968, allocations: 0 / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000214/0.397, allocations: 85.56 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.397, allocations: 8.031 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.397, allocations: 7.922 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3971, allocations: 3.984 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3972, allocations: 11.98 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3972, allocations: 4 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.3973, allocations: 7.984 kB / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3973, allocations: 0 / 1.061 GB, free: 1.797 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.3974, allocations: 121.8 kB / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.3975, allocations: 0 / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.3975, allocations: 11.11 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3975, allocations: 0 / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3975, allocations: 256 / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3975, allocations: 0 / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3977, allocations: 173.6 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3977, allocations: 0 / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.3978, allocations: 11.98 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3978, allocations: 4 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3978, allocations: 4 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3978, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3979, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.3982, allocations: 183.4 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.3982, allocations: 84.95 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.3982, allocations: 0 / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.3983, allocations: 11.98 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.3984, allocations: 3.984 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3984, allocations: 3.938 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.3985, allocations: 83.28 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3985, allocations: 4.031 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002443/0.3987, allocations: 8 kB / 1.062 GB, free: 1.012 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.3989, allocations: 95.25 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3991, allocations: 55.95 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3991, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.3992, allocations: 31.91 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3995, allocations: 11.95 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.3999, allocations: 120.8 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.4003, allocations: 0.6809 MB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.119e-05/0.4003, allocations: 3.984 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.4004, allocations: 11.44 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4004, allocations: 0 / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of Templates: time 0.002978/0.4033, allocations: 0.5079 MB / 1.063 GB, free: 15.44 MB / 0.8262 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