Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002456/0.002456, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.631/1.631, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.397/3.397, allocations: 0.4899 GB / 0.7915 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 69.92 kB / 1.149 GB, free: 26.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4471, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002147/0.4492, allocations: 0.661 MB / 1.322 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.4504, allocations: 0.8631 MB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.4505, allocations: 4 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.4506, allocations: 3.938 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.4507, allocations: 7.938 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.4509, allocations: 15.97 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.451, allocations: 31.86 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.4511, allocations: 15.92 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.4512, allocations: 8 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.4513, allocations: 23.91 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.4513, allocations: 0 / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.4513, allocations: 8 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.4514, allocations: 11.98 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.4514, allocations: 23.86 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.4515, allocations: 35.81 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4515, allocations: 0 / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4515, allocations: 0 / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.4516, allocations: 0 / 1.323 GB, free: 1.098 MB / 1.014 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.0006158/0.4522, allocations: 351.4 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4522, allocations: 15.98 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.4523, allocations: 8.891 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.4525, allocations: 172.3 kB / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.4525, allocations: 4.375 kB / 1.323 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.4525, allocations: 4.375 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.4528, allocations: 62.23 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4528, allocations: 8.109 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.4528, allocations: 7.922 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4528, allocations: 0 / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.453, allocations: 47.95 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.4535, allocations: 280.7 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.4536, allocations: 42.55 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.4537, allocations: 20.91 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.4538, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.4538, allocations: 34.56 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4538, allocations: 3.938 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004003/0.4542, allocations: 85.64 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.4542, allocations: 55.39 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4544, allocations: 106 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4544, allocations: 25.7 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.4544, allocations: 88.08 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.4545, allocations: 7.953 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.4545, allocations: 13.72 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4547, allocations: 318.8 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.4547, allocations: 19.97 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.4548, allocations: 23.98 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.455, allocations: 44.75 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.455, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000225/0.4552, allocations: 69.66 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4553, allocations: 6.344 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4553, allocations: 4.094 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4553, allocations: 4 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4554, allocations: 7.984 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4554, allocations: 3.938 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.4555, allocations: 7.984 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4555, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 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.0001641/0.4556, allocations: 117.7 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.4557, allocations: 7.953 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.4557, allocations: 11.12 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.4557, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4557, allocations: 256 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.4557, allocations: 3.938 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.4559, allocations: 173.7 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4559, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.808e-05/0.456, allocations: 15.98 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.456, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.456, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.456, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.456, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.4563, allocations: 175.4 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.4563, allocations: 77.11 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4563, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.4564, allocations: 7.984 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.4565, allocations: 4 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4565, allocations: 4.031 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.4565, allocations: 87.27 kB / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4565, allocations: 0 / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002176/0.4568, allocations: 4 kB / 1.325 GB, free: 14.18 MB / 1.029 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.0001541/0.4569, allocations: 107.1 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.4572, allocations: 47.89 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4572, allocations: 4.062 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.878e-05/0.4573, allocations: 15.98 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.4575, allocations: 11.98 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.4579, allocations: 121.5 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.4583, allocations: 0.6806 MB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.4583, allocations: 8.062 kB / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.4583, allocations: 15.38 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4583, allocations: 3.938 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Templates: time 0.003389/0.4617, allocations: 0.6132 MB / 1.327 GB, free: 12.5 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.853863232769072]