Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009749/0.0009748, allocations: 177.2 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 89.11 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 11.5 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001843/0.252, allocations: 1.156 MB / 0.8979 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000397/0.2524, allocations: 116.5 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.2525, allocations: 0 / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.732e-05/0.2526, allocations: 3.938 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.2527, allocations: 11.92 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.527e-05/0.2528, allocations: 11.98 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.353e-05/0.2529, allocations: 43.86 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.253, allocations: 12.27 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.2531, allocations: 11.98 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.2532, allocations: 23.86 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2532, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.2533, allocations: 4 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.2533, allocations: 4 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.2533, allocations: 23.8 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.458e-05/0.2534, allocations: 43.78 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2534, allocations: 8 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2534, allocations: 0 / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2534, allocations: 0 / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005264/0.254, allocations: 368.1 kB / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.254, allocations: 8.031 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.2541, allocations: 8.938 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/0.2542, allocations: 172.3 kB / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2542, allocations: 384 / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.2542, allocations: 384 / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.2545, allocations: 78.22 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2545, allocations: 4.188 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2545, allocations: 3.938 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2545, allocations: 3.984 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.2548, allocations: 91.86 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.2552, allocations: 268.9 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.2554, allocations: 78.47 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.2555, allocations: 44.92 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.2555, allocations: 4 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.2556, allocations: 34.5 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2556, allocations: 3.938 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005146/0.2561, allocations: 165.6 kB / 0.8995 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2561, allocations: 55.41 kB / 0.8995 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.2562, allocations: 109.8 kB / 0.8996 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.2562, allocations: 25.7 kB / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.2562, allocations: 88.14 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.2563, allocations: 19.73 kB / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.2563, allocations: 9.719 kB / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.2564, allocations: 315.2 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2565, allocations: 43.95 kB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2566, allocations: 43.91 kB / 0.9002 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.2569, allocations: 104.7 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2569, allocations: 3.938 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002846/0.2572, allocations: 117.6 kB / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2572, allocations: 4 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2573, allocations: 0 / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2573, allocations: 0 / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2574, allocations: 19.98 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2574, allocations: 0 / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.2575, allocations: 23.97 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.2575, allocations: 4 kB / 0.9004 GB, free: 64.19 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.65e-05/0.2576, allocations: 117.7 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2576, allocations: 7.906 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.2577, allocations: 7.906 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2577, allocations: 0 / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2577, allocations: 4 kB / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2577, allocations: 0 / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2578, allocations: 181.6 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2578, allocations: 0 / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/0.2579, allocations: 15.98 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2579, allocations: 4 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.258, allocations: 0 / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.258, allocations: 0 / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.258, allocations: 0 / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.2583, allocations: 223.7 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.2583, allocations: 88.98 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2583, allocations: 4 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.2584, allocations: 15.98 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.2585, allocations: 7.922 kB / 0.9011 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2585, allocations: 0 / 0.9011 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.2585, allocations: 91.27 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2585, allocations: 4 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001925/0.2587, allocations: 8 kB / 0.9012 GB, free: 63.32 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.0001136/0.2589, allocations: 99.25 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.2592, allocations: 91.92 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2592, allocations: 4.281 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2593, allocations: 51.91 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.2596, allocations: 15.86 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.26, allocations: 164.9 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.2601, allocations: 0.6887 MB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.2601, allocations: 7.438 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2601, allocations: 0 / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.0019/0.262, allocations: 0.7679 MB / 0.903 GB, free: 61.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)