Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.0009496/0.0009496, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009558/0.0009558, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.928/0.928, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.332/2.332, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.721e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001343/0.001371, allocations: 0.6823 MB / 0.8905 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009088/0.002279, allocations: 0.8664 MB / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.002318, allocations: 4 kB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.002344, allocations: 0 / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.002413, allocations: 3.938 kB / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.002587, allocations: 11.98 kB / 0.8913 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.002647, allocations: 27.92 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.002735, allocations: 8 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.447e-05/0.002819, allocations: 15.92 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.357e-05/0.002853, allocations: 7.984 kB / 0.8914 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.002866, allocations: 0 / 0.8914 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.847e-05/0.002915, allocations: 7.938 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.002929, allocations: 7.984 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.002943, allocations: 8 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.765e-05/0.003031, allocations: 19.86 kB / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.003033, allocations: 4 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003035, allocations: 4 kB / 0.8915 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.003038, allocations: 0 / 0.8915 GB, free: 7.988 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002967/0.003334, allocations: 368.6 kB / 0.8918 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.003371, allocations: 8.625 kB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.003447, allocations: 8.891 kB / 0.8918 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.783e-05/0.003515, allocations: 104.6 kB / 0.8919 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.003525, allocations: 4.375 kB / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.00353, allocations: 384 / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.003621, allocations: 50.95 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.003627, allocations: 192 / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.003633, allocations: 4.375 kB / 0.892 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.003638, allocations: 4.359 kB / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.887e-05/0.003657, allocations: 15.88 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.003866, allocations: 228.4 kB / 0.8922 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.726e-05/0.003904, allocations: 27.06 kB / 0.8922 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.003917, allocations: 7.688 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.003935, allocations: 4.031 kB / 0.8923 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.003958, allocations: 41.45 kB / 0.8923 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.003959, allocations: 0 / 0.8923 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001218/0.004081, allocations: 45.58 kB / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.00411, allocations: 55.41 kB / 0.8924 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.004178, allocations: 161.9 kB / 0.8925 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.004189, allocations: 25.7 kB / 0.8926 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.004234, allocations: 138.8 kB / 0.8927 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.00425, allocations: 3.938 kB / 0.8927 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.004275, allocations: 19.38 kB / 0.8927 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.004404, allocations: 496.1 kB / 0.8932 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.004416, allocations: 0 / 0.8932 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.004427, allocations: 4 kB / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.004456, allocations: 23.81 kB / 0.8932 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.004458, allocations: 0 / 0.8932 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.383e-05/0.004512, allocations: 37.66 kB / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.004523, allocations: 4 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004528, allocations: 0 / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.004541, allocations: 3.938 kB / 0.8933 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.004606, allocations: 7.984 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.004611, allocations: 3.984 kB / 0.8933 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.004633, allocations: 7.938 kB / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.004637, allocations: 0 / 0.8933 GB, free: 5.91 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: 0 () * 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.388e-05/0.004701, allocations: 160.6 kB / 0.8934 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.004714, allocations: 0 / 0.8934 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.276e-05/0.004796, allocations: 48.94 kB / 0.8935 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.004799, allocations: 3.938 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.004802, allocations: 0 / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.004806, allocations: 3.984 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.788e-05/0.004904, allocations: 101.2 kB / 0.8936 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.004905, allocations: 0 / 0.8936 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.004934, allocations: 4 kB / 0.8936 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.004936, allocations: 4.031 kB / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.004943, allocations: 7.984 kB / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.004943, allocations: 0 / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.004944, allocations: 0 / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.005055, allocations: 183.8 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.005065, allocations: 7.953 kB / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.005075, allocations: 3.984 kB / 0.8938 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.027e-05/0.005125, allocations: 0 / 0.8938 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.005157, allocations: 8 kB / 0.8938 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.005161, allocations: 3.938 kB / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003107/0.005472, allocations: 127.2 kB / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.005472, allocations: 4 kB / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001591/0.005631, allocations: 7.938 kB / 0.8939 GB, free: 5.18 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: 0 () * 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 8.42e-05/0.005715, allocations: 94.62 kB / 0.894 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.981e-05/0.005775, allocations: 15.69 kB / 0.894 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005776, allocations: 0 / 0.894 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.005793, allocations: 15.62 kB / 0.8941 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.005968, allocations: 7.984 kB / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.00632, allocations: 122.6 kB / 0.8942 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.241e-05/0.006352, allocations: 59.3 kB / 0.8942 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.006369, allocations: 0 / 0.8942 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.006411, allocations: 74.19 kB / 0.8943 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/0.006412, allocations: 0 / 0.8943 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.001882/0.008294, allocations: 0.5054 MB / 0.8948 GB, free: 4.23 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.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.177251459565014]