Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.0008812/0.0008812, allocations: 83.59 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.0009617/0.0009617, allocations: 165 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.9801/0.9801, allocations: 177.1 MB / 204.2 MB, free: 5.66 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.815/1.815, 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.817e-06/3.817e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.53e-05/3.911e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001519/0.001558, allocations: 0.6264 MB / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009166/0.002475, allocations: 0.8593 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.002511, allocations: 5.219 kB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.002544, allocations: 3.938 kB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.002608, allocations: 8.547 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.002802, allocations: 4 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.796e-05/0.00287, allocations: 21.33 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.002909, allocations: 4 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.003075, allocations: 27.84 kB / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.003128, allocations: 8.781 kB / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003142, allocations: 0 / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.104e-05/0.003193, allocations: 8.562 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.003203, allocations: 0 / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.003223, allocations: 4.672 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.003333, allocations: 19.97 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003336, allocations: 0.9062 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/0.003338, allocations: 0 / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.003343, allocations: 0.6562 kB / 0.7887 GB, free: 10.87 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003745/0.003717, allocations: 356.6 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.00376, allocations: 16.69 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.003884, allocations: 10.58 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.003968, allocations: 112.6 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.003978, allocations: 384 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.003986, allocations: 384 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.004084, allocations: 48.25 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.004089, allocations: 192 / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.004099, allocations: 384 / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.004107, allocations: 384 / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.004124, allocations: 13.52 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.004241, allocations: 112.7 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.125e-05/0.004283, allocations: 23.06 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.004302, allocations: 7.688 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.004315, allocations: 8.625 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.00434, allocations: 44.81 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.004341, allocations: 0 / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.004472, allocations: 33.66 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.004502, allocations: 55.41 kB / 0.7895 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.004578, allocations: 169.9 kB / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.004587, allocations: 25.7 kB / 0.7897 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.004623, allocations: 126.9 kB / 0.7898 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.004645, allocations: 4 kB / 0.7898 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.004676, allocations: 15.38 kB / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.004797, allocations: 496.7 kB / 0.7903 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.004816, allocations: 12.45 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.004825, allocations: 0.875 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.004855, allocations: 11.69 kB / 0.7903 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004856, allocations: 0.8125 kB / 0.7903 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.552e-05/0.004912, allocations: 30.23 kB / 0.7904 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.004926, allocations: 4 kB / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.004931, allocations: 1.375 kB / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.004942, allocations: 4 kB / 0.7904 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.005012, allocations: 3.984 kB / 0.7904 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.005016, allocations: 1.156 kB / 0.7904 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.005031, allocations: 7.938 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.005037, allocations: 0 / 0.7904 GB, free: 8.949 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 6.84e-05/0.005106, allocations: 165.1 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/0.005113, allocations: 8.641 kB / 0.7906 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.005134, allocations: 3.156 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005136, allocations: 1.25 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.005139, allocations: 0 / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.005145, allocations: 7.922 kB / 0.7906 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.495e-05/0.00521, allocations: 112.6 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005211, allocations: 0.6875 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.00523, allocations: 6.312 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005232, allocations: 0 / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.005243, allocations: 3.984 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.005244, allocations: 0 / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005245, allocations: 0 / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.296e-05/0.005318, allocations: 68.39 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.005325, allocations: 3.312 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.005337, allocations: 7.984 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-06/0.005347, allocations: 0 / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.005375, allocations: 3.938 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.005378, allocations: 256 / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.005416, allocations: 131.2 kB / 0.7909 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005416, allocations: 0 / 0.7909 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001113/0.005528, allocations: 7.938 kB / 0.7909 GB, free: 8.367 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 9.412e-05/0.005622, allocations: 100.3 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.881e-05/0.0057, allocations: 8.188 kB / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005702, allocations: 0 / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.005714, allocations: 12.25 kB / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.005827, allocations: 6.453 kB / 0.791 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.006283, allocations: 128.2 kB / 0.7911 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.006315, allocations: 55.34 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.006333, allocations: 5.297 kB / 0.7912 GB, free: 8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.006362, allocations: 12.5 kB / 0.7912 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.006363, allocations: 0 / 0.7912 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.001966/0.008329, allocations: 311 kB / 0.7915 GB, free: 7.691 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_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.917224530130625]