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.001456/0.001456, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00173/0.00173, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.028/3.028, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.56e-05, allocations: 3.219 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00183/0.001855, allocations: 0.6735 MB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003127, allocations: 0.8403 MB / 0.8123 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.003192, allocations: 0 / 0.8123 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.003324, allocations: 7.922 kB / 0.8123 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.145e-05/0.003356, allocations: 9.469 kB / 0.8123 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.003532, allocations: 23.91 kB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.003618, allocations: 27.92 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.003711, allocations: 9.375 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.003798, allocations: 19.92 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.003866, allocations: 15.97 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.003886, allocations: 4 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.003896, allocations: 4.812 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.003952, allocations: 11.98 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.003997, allocations: 12.91 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.004111, allocations: 39.86 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004113, allocations: 0 / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004114, allocations: 0.625 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.004118, allocations: 0 / 0.8125 GB, free: 428 kB / 0.7605 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.0005468/0.004665, allocations: 275.2 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.004708, allocations: 8.531 kB / 0.8127 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.004762, allocations: 5.594 kB / 0.8127 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.004973, allocations: 121.6 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.005001, allocations: 5 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.005013, allocations: 384 / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.005257, allocations: 71.53 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.005267, allocations: 192 / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.005278, allocations: 384 / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.005283, allocations: 2.125 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.005496, allocations: 47.89 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.005909, allocations: 217.7 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.006065, allocations: 42.48 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.006177, allocations: 29.47 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.006198, allocations: 4.5 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.006233, allocations: 31.66 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.006234, allocations: 0 / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004177/0.006651, allocations: 100.5 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.006702, allocations: 51.41 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.00681, allocations: 101.9 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.006836, allocations: 29.7 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.006907, allocations: 92.08 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.006922, allocations: 0 / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.006967, allocations: 18.25 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.007144, allocations: 311.6 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.007244, allocations: 24.47 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.007324, allocations: 13.58 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.007498, allocations: 45.62 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.0075, allocations: 0 / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002308/0.00773, allocations: 82.42 kB / 0.8141 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.007746, allocations: 9.156 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.007753, allocations: 4.234 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.007771, allocations: 0 / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.007884, allocations: 16.95 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.007888, allocations: 0 / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.007946, allocations: 10.3 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.007951, allocations: 0 / 0.8142 GB, free: 14.53 MB / 0.7761 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.0001547/0.008105, allocations: 113.8 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.008133, allocations: 3.938 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.008153, allocations: 11.31 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008155, allocations: 3.344 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008158, allocations: 0 / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.00816, allocations: 0 / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.008324, allocations: 113.2 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.008328, allocations: 3.984 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.008398, allocations: 4 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.008405, allocations: 7.938 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.008412, allocations: 0 / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.008416, allocations: 3.984 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008417, allocations: 1 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.008717, allocations: 168.9 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.008726, allocations: 3.953 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.008746, allocations: 3.938 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.008834, allocations: 8.578 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.008883, allocations: 5.625 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.008892, allocations: 7.984 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.008951, allocations: 79.28 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008951, allocations: 0 / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002188/0.00917, allocations: 5.031 kB / 0.8147 GB, free: 13.95 MB / 0.7761 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.0001206/0.009291, allocations: 96.34 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.009522, allocations: 48.55 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.009524, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.009627, allocations: 29.62 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.009871, allocations: 7.922 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.01022, allocations: 117.6 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.032e-05/0.0103, allocations: 72.17 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.01034, allocations: 9.109 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.01038, allocations: 12.5 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.01038, allocations: 0 / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.003197/0.01358, allocations: 0.6773 MB / 0.8157 GB, free: 12.86 MB / 0.7761 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: 7.97385854809545]