Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001072/0.001072, 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.0009675/0.0009675, 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 0.9563/0.9563, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.859/1.859, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.371e-05, allocations: 3.641 kB / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001594/0.001628, allocations: 0.6878 MB / 0.8123 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008811/0.002509, allocations: 0.8718 MB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.002539, allocations: 0 / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.002572, allocations: 7.922 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.002637, allocations: 0.9688 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.00283, allocations: 8 kB / 0.8131 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.002908, allocations: 24.95 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.003, allocations: 4 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.003075, allocations: 27.84 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.003108, allocations: 8.766 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.003122, allocations: 0 / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.003165, allocations: 9.625 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.00318, allocations: 4 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.003211, allocations: 4.047 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003315, allocations: 27.86 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.003317, allocations: 1.531 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003318, allocations: 0 / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.003323, allocations: 0 / 0.8133 GB, free: 15.97 MB / 0.7761 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.000385/0.003708, allocations: 360.6 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.003753, allocations: 8.656 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.00389, allocations: 4.938 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.003999, allocations: 113.5 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.004013, allocations: 4.375 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.004023, allocations: 1.969 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.004164, allocations: 58.89 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.004173, allocations: 192 / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.004184, allocations: 384 / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.004192, allocations: 0.9062 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.989e-05/0.004222, allocations: 11.92 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.004507, allocations: 244.6 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.269e-05/0.00456, allocations: 31.59 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.004581, allocations: 13.41 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.004599, allocations: 3.938 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.004618, allocations: 33.39 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.004619, allocations: 0 / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.004761, allocations: 50.08 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.004794, allocations: 56 kB / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.004876, allocations: 154.7 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.004889, allocations: 33.69 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.004932, allocations: 126.9 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.00495, allocations: 9.047 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.004975, allocations: 19.38 kB / 0.8145 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.00509, allocations: 496.1 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.005107, allocations: 5.375 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.005116, allocations: 3.938 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.005149, allocations: 17.42 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.00515, allocations: 0 / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.389e-05/0.005204, allocations: 41.7 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.005216, allocations: 4 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.005221, allocations: 6.156 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.005233, allocations: 0 / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.005307, allocations: 7.984 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.005312, allocations: 0 / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.005328, allocations: 7.938 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.005333, allocations: 0 / 0.8151 GB, free: 13.88 MB / 0.7761 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.484e-05/0.005398, allocations: 163.3 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.005411, allocations: 0 / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-05/0.005502, allocations: 52.94 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.005504, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.005508, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.00551, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.039e-05/0.005601, allocations: 120.6 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.005602, allocations: 1.469 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.005628, allocations: 4 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.005631, allocations: 4 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.005637, allocations: 0.5 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.005639, allocations: 7.922 kB / 0.8154 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.005641, allocations: 0.5625 kB / 0.8154 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.669e-05/0.005737, allocations: 185.3 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.005745, allocations: 4 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.005756, allocations: 3.984 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.005788, allocations: 10.53 kB / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.005819, allocations: 0 / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.005821, allocations: 0 / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.005854, allocations: 131.2 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005854, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001331/0.005987, allocations: 7.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 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 9.373e-05/0.006081, allocations: 91.81 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.006161, allocations: 20.75 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006163, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.006178, allocations: 12.66 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.006364, allocations: 15.92 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.006784, allocations: 119.8 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.006817, allocations: 59.05 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.394e-05/0.006831, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.006855, allocations: 8.5 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.006855, allocations: 0 / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of Templates: time 0.002134/0.008989, allocations: 0.4923 MB / 0.8166 GB, free: 12.29 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.057299722917378]