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.0009725/0.0009725, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009088/0.0009088, allocations: 161 kB / 23.82 MB, free: 0.75 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.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.751/1.751, allocations: 359 MB / 0.6052 GB, free: 11.04 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 1.793e-06/1.793e-06, allocations: 0 / 0.7872 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.855e-05, allocations: 3.281 kB / 0.7872 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001732/0.00175, allocations: 0.688 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.002973, allocations: 0.8671 MB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.003011, allocations: 0 / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.003045, allocations: 0 / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.003122, allocations: 12.98 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.003352, allocations: 11.98 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.003433, allocations: 23.92 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.003532, allocations: 8.906 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.003611, allocations: 11.98 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.003653, allocations: 7.938 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.00367, allocations: 1.062 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.003727, allocations: 15.91 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.003744, allocations: 8 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.003767, allocations: 5.562 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.003882, allocations: 15.98 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003885, allocations: 0 / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003886, allocations: 0 / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.00389, allocations: 5.969 kB / 0.7888 GB, free: 10.77 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.000418/0.004308, allocations: 360.6 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.004352, allocations: 8.031 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.004463, allocations: 8.891 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.004566, allocations: 112.6 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.004579, allocations: 2.562 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.004592, allocations: 384 / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.004747, allocations: 58.94 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.004758, allocations: 192 / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.004768, allocations: 384 / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.004777, allocations: 384 / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.004818, allocations: 8.438 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.005165, allocations: 245.4 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.276e-05/0.005228, allocations: 35.03 kB / 0.7896 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.005258, allocations: 11.75 kB / 0.7896 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.005281, allocations: 1.75 kB / 0.7896 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.005307, allocations: 33.39 kB / 0.7896 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.005308, allocations: 0 / 0.7896 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001837/0.005492, allocations: 53.53 kB / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.005527, allocations: 52.31 kB / 0.7897 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.005621, allocations: 161.9 kB / 0.7899 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.005635, allocations: 26.33 kB / 0.7899 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.005689, allocations: 126.9 kB / 0.79 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.005711, allocations: 13.25 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.005752, allocations: 23.36 kB / 0.7901 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.005909, allocations: 496.1 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.005927, allocations: 0 / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.086e-05/0.005937, allocations: 2.469 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.005974, allocations: 19.69 kB / 0.7906 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005976, allocations: 0 / 0.7906 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.464e-05/0.006061, allocations: 45.62 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.006074, allocations: 4.719 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.00608, allocations: 3.938 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.006097, allocations: 0.5312 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.00618, allocations: 4 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.006185, allocations: 5.594 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.00621, allocations: 7.938 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.006216, allocations: 3.984 kB / 0.7906 GB, free: 8.676 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 8.061e-05/0.006297, allocations: 161.2 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.006322, allocations: 0 / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.006433, allocations: 50.31 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.006436, allocations: 3.984 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.006439, allocations: 3.938 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.006442, allocations: 1.156 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.00657, allocations: 116.6 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006572, allocations: 0 / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.006613, allocations: 9.375 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006616, allocations: 0 / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.006624, allocations: 0 / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.006627, allocations: 4.812 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.006628, allocations: 0 / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.006751, allocations: 192.8 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-06/0.006757, allocations: 0 / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.006768, allocations: 1.281 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.006831, allocations: 7.938 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.006873, allocations: 7.984 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.006877, allocations: 0 / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.007e-05/0.006927, allocations: 124 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.006927, allocations: 3.938 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002296/0.007157, allocations: 4.875 kB / 0.7913 GB, free: 7.934 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 8.523e-05/0.007242, allocations: 92.81 kB / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.156e-05/0.007334, allocations: 19.67 kB / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007335, allocations: 0 / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.00736, allocations: 16.84 kB / 0.7914 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.007635, allocations: 4 kB / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.00816, allocations: 128.9 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.191e-05/0.008201, allocations: 59.34 kB / 0.7916 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.008221, allocations: 0 / 0.7916 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.008253, allocations: 12.5 kB / 0.7916 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.008253, allocations: 0 / 0.7916 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.0024/0.01065, allocations: 475.4 kB / 0.7921 GB, free: 7.105 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: 5.42179410206154]