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.000997/0.000997, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001603/0.001603, allocations: 168.3 kB / 24.86 MB, free: 9.27 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.94/1.94, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.804e-06/1.804e-06, allocations: 0 / 0.8128 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.469e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001523/0.001547, allocations: 0.6841 MB / 0.8135 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009993/0.002547, allocations: 0.8675 MB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.002585, allocations: 2.125 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.002612, allocations: 3.984 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.002681, allocations: 3.938 kB / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.002838, allocations: 11.98 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.66e-05/0.002905, allocations: 27.92 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.002981, allocations: 0 / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.003047, allocations: 17.27 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.00308, allocations: 11.98 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.003093, allocations: 4 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.216e-05/0.003135, allocations: 8.531 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.003147, allocations: 0 / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.003161, allocations: 5.344 kB / 0.8145 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.736e-05/0.003248, allocations: 27.89 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.00325, allocations: 0 / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003251, allocations: 0 / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003256, allocations: 1.938 kB / 0.8145 GB, free: 15.72 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.0003234/0.003579, allocations: 364.5 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.003619, allocations: 12.03 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.003701, allocations: 0.9375 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.259e-05/0.003783, allocations: 114.5 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.003792, allocations: 384 / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-06/0.003797, allocations: 384 / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.234e-05/0.00389, allocations: 54.95 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.003896, allocations: 192 / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.003901, allocations: 384 / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.003906, allocations: 5.031 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.003923, allocations: 4.469 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.004122, allocations: 236.4 kB / 0.8152 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.946e-05/0.004162, allocations: 27.78 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.004174, allocations: 12.28 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.004186, allocations: 1.406 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.004205, allocations: 33.39 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.004206, allocations: 0 / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001108/0.004316, allocations: 54.05 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.004344, allocations: 56.78 kB / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.004441, allocations: 157.9 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.00445, allocations: 25.7 kB / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.004487, allocations: 130.8 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.004502, allocations: 9.094 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.004527, allocations: 23.38 kB / 0.8157 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.004627, allocations: 496.1 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.004638, allocations: 5.375 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.004645, allocations: 0 / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.00467, allocations: 11.69 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004672, allocations: 0.9062 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.762e-05/0.004719, allocations: 41.62 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.004729, allocations: 4.781 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.004733, allocations: 0 / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.004743, allocations: 9.188 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.004796, allocations: 4 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.004799, allocations: 0 / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.004816, allocations: 8.766 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.00482, allocations: 4 kB / 0.8163 GB, free: 13.66 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 5.394e-05/0.004874, allocations: 157.9 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.004888, allocations: 0 / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.00495, allocations: 46.16 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.004953, allocations: 3.938 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.004955, allocations: 192 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004958, allocations: 4 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.264e-05/0.005041, allocations: 103 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.005042, allocations: 4 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.005067, allocations: 7.984 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005069, allocations: 0 / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-06/0.005073, allocations: 2.5 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005074, allocations: 4 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005075, allocations: 0 / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.059e-05/0.005156, allocations: 187.9 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.005161, allocations: 0 / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.005167, allocations: 0 / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/0.005197, allocations: 11.94 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.005229, allocations: 4.484 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.005233, allocations: 4.469 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.005265, allocations: 128.5 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005265, allocations: 3.938 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000132/0.005397, allocations: 4 kB / 0.817 GB, free: 12.95 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 8.019e-05/0.005477, allocations: 92.06 kB / 0.817 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.741e-05/0.005535, allocations: 20.33 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005536, allocations: 0.6562 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.005552, allocations: 11.69 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.005729, allocations: 15.06 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.006063, allocations: 114.4 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.884e-05/0.006162, allocations: 63.28 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.41e-05/0.006176, allocations: 0 / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.006219, allocations: 76.61 kB / 0.8173 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.00622, allocations: 0 / 0.8173 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.001775/0.007996, allocations: 0.5009 MB / 0.8178 GB, free: 12.02 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.185539825819433]