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.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.001127/0.001127, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001302/0.001302, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.026/1.026, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.432/2.432, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.818e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001449/0.001477, allocations: 0.6856 MB / 0.8904 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008091/0.002286, allocations: 0.8664 MB / 0.8913 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.00233, allocations: 0 / 0.8913 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.915e-05/0.002419, allocations: 3.938 kB / 0.8913 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.443e-05/0.002443, allocations: 11.86 kB / 0.8913 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.002576, allocations: 19.98 kB / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.303e-05/0.002639, allocations: 31.92 kB / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.858e-05/0.002718, allocations: 15.92 kB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.984e-05/0.002778, allocations: 15.98 kB / 0.8914 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.002834, allocations: 15.92 kB / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.00285, allocations: 0 / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-06/0.002859, allocations: 4 kB / 0.8914 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.002902, allocations: 15.97 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.002926, allocations: 11.94 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.067e-05/0.002997, allocations: 23.91 kB / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002998, allocations: 0 / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002999, allocations: 4 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.003002, allocations: 4 kB / 0.8914 GB, free: 8.02 MB / 0.8542 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.0002821/0.003284, allocations: 372.5 kB / 0.8918 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.00332, allocations: 12.62 kB / 0.8918 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.003343, allocations: 4.938 kB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.003428, allocations: 116.6 kB / 0.8919 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.00344, allocations: 384 / 0.8919 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.003449, allocations: 4.375 kB / 0.8919 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.003552, allocations: 62.94 kB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.00356, allocations: 4.125 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.003567, allocations: 12.3 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.003572, allocations: 384 / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.003597, allocations: 11.94 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.003814, allocations: 256.3 kB / 0.8923 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.003856, allocations: 39 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.003872, allocations: 11.75 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.003885, allocations: 0 / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.003904, allocations: 37.33 kB / 0.8923 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.003905, allocations: 0 / 0.8923 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001099/0.004015, allocations: 49.64 kB / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.004037, allocations: 51.41 kB / 0.8924 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.004098, allocations: 169.8 kB / 0.8926 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.004108, allocations: 29.7 kB / 0.8926 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.004144, allocations: 126.9 kB / 0.8927 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.004156, allocations: 3.953 kB / 0.8927 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.004183, allocations: 27.36 kB / 0.8928 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.004278, allocations: 0.4884 MB / 0.8933 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.004287, allocations: 0 / 0.8933 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-06/0.004297, allocations: 4.125 kB / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.004321, allocations: 19.73 kB / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.004323, allocations: 0 / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.746e-05/0.00437, allocations: 33.7 kB / 0.8933 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.004383, allocations: 11.94 kB / 0.8933 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004387, allocations: 4.188 kB / 0.8933 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.004397, allocations: 0 / 0.8933 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.816e-05/0.004455, allocations: 11.98 kB / 0.8933 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.004458, allocations: 0 / 0.8933 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.004477, allocations: 15.89 kB / 0.8933 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.00448, allocations: 4.031 kB / 0.8934 GB, free: 5.852 MB / 0.8542 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 6.494e-05/0.004545, allocations: 156.6 kB / 0.8935 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.004559, allocations: 7.922 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.004577, allocations: 3.312 kB / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004579, allocations: 0 / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.004581, allocations: 4 kB / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.004584, allocations: 0 / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.644e-05/0.00467, allocations: 105.2 kB / 0.8936 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004671, allocations: 0 / 0.8936 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.004692, allocations: 4 kB / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.004693, allocations: 4 kB / 0.8936 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.004697, allocations: 4 kB / 0.8936 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.004699, allocations: 3.938 kB / 0.8936 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004699, allocations: 0 / 0.8936 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.476e-05/0.004784, allocations: 187.9 kB / 0.8938 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.00479, allocations: 3.953 kB / 0.8938 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-06/0.004797, allocations: 0 / 0.8938 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.004829, allocations: 15.92 kB / 0.8938 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.004857, allocations: 0 / 0.8938 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.00486, allocations: 8.031 kB / 0.8938 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.004892, allocations: 123.2 kB / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.004892, allocations: 0 / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001279/0.00502, allocations: 12 kB / 0.894 GB, free: 5.164 MB / 0.8542 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 7.517e-05/0.005095, allocations: 95.25 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.745e-05/0.005152, allocations: 19.67 kB / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005153, allocations: 0 / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-05/0.005173, allocations: 19.62 kB / 0.8941 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.005324, allocations: 8.125 kB / 0.8941 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.005531, allocations: 126.3 kB / 0.8942 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.005559, allocations: 51.36 kB / 0.8943 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.005578, allocations: 4 kB / 0.8943 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.005627, allocations: 74.19 kB / 0.8943 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.005628, allocations: 0 / 0.8943 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of Templates: time 0.002047/0.007675, allocations: 0.7248 MB / 0.8951 GB, free: 3.988 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.366805710829794]