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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 113.7 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 193.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.147/3.147, allocations: 489.3 MB / 0.7687 GB, free: 3.949 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002345, allocations: 72.12 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002041/1.108, allocations: 0.6685 MB / 1.263 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001148/1.109, allocations: 0.8237 MB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/1.109, allocations: 4.75 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/1.109, allocations: 8.688 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.044e-05/1.109, allocations: 9.688 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/1.11, allocations: 19.47 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/1.11, allocations: 29.83 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/1.11, allocations: 14.72 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/1.11, allocations: 14.73 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/1.11, allocations: 17.53 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/1.11, allocations: 3.031 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/1.11, allocations: 7.125 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/1.11, allocations: 13.5 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/1.11, allocations: 17.27 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/1.11, allocations: 33.7 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/1.11, allocations: 1.375 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/1.11, allocations: 0 / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.776e-06/1.11, allocations: 0 / 1.264 GB, free: 6.871 MB / 0.9981 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.0005045/1.111, allocations: 356.5 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.111, allocations: 13.84 kB / 1.265 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/1.111, allocations: 7.875 kB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/1.111, allocations: 175 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/1.111, allocations: 5.969 kB / 1.265 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/1.111, allocations: 2.875 kB / 1.265 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/1.111, allocations: 63.11 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.111, allocations: 192 / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.111, allocations: 5 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.111, allocations: 0.6562 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/1.112, allocations: 52.23 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/1.112, allocations: 277 kB / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/1.112, allocations: 43.75 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/1.112, allocations: 22 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/1.112, allocations: 4 kB / 1.265 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/1.112, allocations: 39.94 kB / 1.265 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.112, allocations: 0.8125 kB / 1.265 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004303/1.113, allocations: 84.16 kB / 1.265 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/1.113, allocations: 52.22 kB / 1.265 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/1.113, allocations: 107.8 kB / 1.265 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/1.113, allocations: 25.7 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/1.113, allocations: 91.53 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/1.113, allocations: 2.234 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/1.113, allocations: 14.39 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/1.113, allocations: 321.3 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/1.113, allocations: 19.52 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/1.113, allocations: 27.2 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/1.113, allocations: 44.42 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/1.113, allocations: 0 / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002185/1.114, allocations: 74.64 kB / 1.266 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.114, allocations: 5.609 kB / 1.266 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.114, allocations: 4.781 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.114, allocations: 0 / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/1.114, allocations: 10.39 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.114, allocations: 0.6875 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/1.114, allocations: 6.172 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/1.114, allocations: 1.453 kB / 1.266 GB, free: 5.113 MB / 0.9981 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.0001194/1.114, allocations: 117.9 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/1.114, allocations: 1.438 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/1.114, allocations: 13.09 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/1.114, allocations: 1.094 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.114, allocations: 3.984 kB / 1.266 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.114, allocations: 0.75 kB / 1.266 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/1.114, allocations: 169 kB / 1.266 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.114, allocations: 1 kB / 1.266 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/1.114, allocations: 13.78 kB / 1.266 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.114, allocations: 0.8125 kB / 1.266 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/1.114, allocations: 0.7969 kB / 1.266 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.114, allocations: 0.5625 kB / 1.266 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.114, allocations: 8.578 kB / 1.266 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/1.115, allocations: 170.1 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/1.115, allocations: 78.91 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/1.115, allocations: 1.484 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/1.115, allocations: 5.719 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/1.115, allocations: 9.266 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/1.115, allocations: 5.344 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.081e-05/1.115, allocations: 84.36 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.115, allocations: 1.438 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000216/1.115, allocations: 8.219 kB / 1.267 GB, free: 4.441 MB / 0.9981 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.000125/1.115, allocations: 98.23 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002651/1.116, allocations: 50.94 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.116, allocations: 3.938 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/1.116, allocations: 18.25 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/1.116, allocations: 7.703 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/1.116, allocations: 148.2 kB / 1.267 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/1.116, allocations: 0.6807 MB / 1.268 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/1.116, allocations: 14.97 kB / 1.268 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.116, allocations: 3.938 kB / 1.268 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of Templates: time 0.002823/1.119, allocations: 0.6784 MB / 1.268 GB, free: 3.434 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.72533835680224]