Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.000933/0.000933, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009089/0.0009089, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9871/0.9871, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.714/1.714, allocations: 359 MB / 0.6052 GB, free: 10.99 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.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.727e-06/3.727e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.34e-05, allocations: 7.312 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001501/0.001535, allocations: 0.6825 MB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008986/0.002433, allocations: 0.8753 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.002473, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.002504, allocations: 0.9062 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.002572, allocations: 3.938 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.00277, allocations: 8.938 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.393e-05/0.002844, allocations: 27.92 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.002937, allocations: 6.953 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.00301, allocations: 8 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.003047, allocations: 19.91 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.003066, allocations: 4 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.781e-05/0.003114, allocations: 7.938 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.003128, allocations: 0 / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.003147, allocations: 7.984 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.00325, allocations: 19.92 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.003253, allocations: 1.25 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003254, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.003259, allocations: 0 / 0.7888 GB, free: 10.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003752/0.003635, allocations: 357.2 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.003674, allocations: 8.031 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.003785, allocations: 13.95 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.167e-05/0.003867, allocations: 116.5 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.003877, allocations: 384 / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.003885, allocations: 0.9688 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.00401, allocations: 52.77 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.004017, allocations: 192 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.004027, allocations: 384 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.004035, allocations: 4.359 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.221e-05/0.004068, allocations: 11.94 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.004411, allocations: 249.4 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.004475, allocations: 35 kB / 0.7896 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.004496, allocations: 11.75 kB / 0.7896 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.004516, allocations: 1.344 kB / 0.7896 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.004539, allocations: 33.39 kB / 0.7897 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.004541, allocations: 0 / 0.7897 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/0.004704, allocations: 59.86 kB / 0.7897 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.004736, allocations: 51.41 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.004809, allocations: 157.9 kB / 0.7899 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.004821, allocations: 25.7 kB / 0.7899 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.004869, allocations: 134.9 kB / 0.7901 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.004891, allocations: 3.953 kB / 0.7901 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.004919, allocations: 15.91 kB / 0.7901 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.005039, allocations: 0.4884 MB / 0.7906 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.005058, allocations: 0.7188 kB / 0.7906 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.005071, allocations: 8.516 kB / 0.7906 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.072e-05/0.005102, allocations: 13.28 kB / 0.7906 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005103, allocations: 0 / 0.7906 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.146e-05/0.005165, allocations: 41.64 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.005179, allocations: 8.562 kB / 0.7906 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.005185, allocations: 3.938 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.005198, allocations: 0.6875 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.005288, allocations: 7.984 kB / 0.7906 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.005298, allocations: 4.688 kB / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.005316, allocations: 4.438 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005321, allocations: 0 / 0.7907 GB, free: 8.652 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 (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 7.223e-05/0.005394, allocations: 157.4 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.005407, allocations: 1.375 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.00552, allocations: 48.94 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.005524, allocations: 0 / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.005528, allocations: 5.094 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005531, allocations: 0 / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.972e-05/0.005631, allocations: 120.6 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.005633, allocations: 0 / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.005668, allocations: 8.625 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.005671, allocations: 0.7188 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.005681, allocations: 3.984 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.005685, allocations: 8.781 kB / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005686, allocations: 0 / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.005794, allocations: 189.8 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.005801, allocations: 0 / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.005812, allocations: 3.984 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.005845, allocations: 7.938 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.005883, allocations: 0.7812 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.005886, allocations: 0 / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.005924, allocations: 127.2 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005924, allocations: 6.312 kB / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001338/0.006058, allocations: 4 kB / 0.7913 GB, free: 7.91 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 (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.0001033/0.006161, allocations: 99.25 kB / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.306e-05/0.006254, allocations: 11.69 kB / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.006256, allocations: 1.969 kB / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.006276, allocations: 11.69 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.006473, allocations: 7.984 kB / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.00695, allocations: 131.8 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.006985, allocations: 51.36 kB / 0.7916 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.708e-05/0.007002, allocations: 3.938 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.007034, allocations: 13.59 kB / 0.7916 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.007035, allocations: 0 / 0.7916 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of Templates: time 0.002358/0.009393, allocations: 0.4957 MB / 0.7921 GB, free: 7.051 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.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.908509280066937]