Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001448/0.001448, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001887/0.001887, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.763/1.763, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.212e-05, allocations: 4.141 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002128/0.00216, allocations: 0.6601 MB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.002947, allocations: 0.8366 MB / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.002988, allocations: 1.25 kB / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.459e-05/0.003073, allocations: 0 / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.353e-05/0.003096, allocations: 7.875 kB / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.771e-05/0.003194, allocations: 17.55 kB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.003255, allocations: 23.91 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.003332, allocations: 8 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.003396, allocations: 11.98 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.003443, allocations: 13.2 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.003457, allocations: 0 / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-06/0.003464, allocations: 4 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.003505, allocations: 7.938 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.003527, allocations: 8.609 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.112e-05/0.003598, allocations: 17.38 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.0036, allocations: 4 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003601, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.003605, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002877/0.003893, allocations: 365.4 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.003929, allocations: 12.02 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.961e-05/0.003948, allocations: 5.5 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.004036, allocations: 120.5 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-06/0.004043, allocations: 1.094 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.004049, allocations: 5.281 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.932e-05/0.004138, allocations: 54.95 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.004144, allocations: 4.172 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.00415, allocations: 1.031 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004154, allocations: 2.031 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.258e-05/0.004167, allocations: 7.938 kB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.004398, allocations: 248.4 kB / 0.7899 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.11e-05/0.00443, allocations: 27.06 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.004443, allocations: 9.031 kB / 0.79 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-06/0.004448, allocations: 0 / 0.79 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.004466, allocations: 33.39 kB / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 4.669e-06/0.00447, allocations: 5.656 kB / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 9.52e-05/0.004565, allocations: 41.56 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.004589, allocations: 51.41 kB / 0.7901 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.00465, allocations: 157.9 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.00466, allocations: 30.73 kB / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.004703, allocations: 138.8 kB / 0.7904 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.004715, allocations: 3.219 kB / 0.7904 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.004738, allocations: 19.38 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.004844, allocations: 496.1 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-06/0.00485, allocations: 0 / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-06/0.004857, allocations: 0 / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.73e-05/0.004874, allocations: 11.69 kB / 0.7909 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004875, allocations: 256 / 0.7909 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.066e-05/0.004916, allocations: 46.3 kB / 0.791 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.004927, allocations: 11.94 kB / 0.791 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.004932, allocations: 4.531 kB / 0.791 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.004941, allocations: 3.938 kB / 0.791 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.398e-05/0.004985, allocations: 5.156 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.004987, allocations: 0 / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.005001, allocations: 4.469 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.005006, allocations: 7.984 kB / 0.791 GB, free: 8.504 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.481e-05/0.00506, allocations: 157.1 kB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.005071, allocations: 1.375 kB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.00509, allocations: 11.09 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.005091, allocations: 0 / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.005092, allocations: 1.156 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.005094, allocations: 0 / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.64e-05/0.005171, allocations: 93.27 kB / 0.7912 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.005174, allocations: 4.922 kB / 0.7912 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.005188, allocations: 4 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.00519, allocations: 0 / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.466e-06/0.005193, allocations: 1.625 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005194, allocations: 3.938 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.005196, allocations: 3.938 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.206e-05/0.005268, allocations: 187.4 kB / 0.7914 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-06/0.005275, allocations: 11.94 kB / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-06/0.005281, allocations: 0 / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.005307, allocations: 0 / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.005332, allocations: 7.938 kB / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.005333, allocations: 0 / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.005369, allocations: 127.2 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005369, allocations: 0 / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000128/0.005497, allocations: 4 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 6.651e-05/0.005563, allocations: 95.88 kB / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.724e-05/0.005611, allocations: 16.69 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.005612, allocations: 0 / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.005624, allocations: 12.25 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.005788, allocations: 9.391 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.005987, allocations: 122.8 kB / 0.7918 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.006017, allocations: 51.36 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.292e-05/0.00603, allocations: 1.688 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.006071, allocations: 70.2 kB / 0.7919 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.006072, allocations: 3.938 kB / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.001846/0.007918, allocations: 0.508 MB / 0.7924 GB, free: 6.918 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.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: 4.95000267168507]