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.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.807/1.807, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009258/0.0009258, allocations: 175 kB / 326.5 MB, free: 2.676 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.756/1.756, allocations: 205 MB / 0.5766 GB, free: 20.97 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.000855/0.000855, allocations: 80 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 15.69 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001444/0.2576, allocations: 1.11 MB / 0.8978 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002518/0.2578, allocations: 96.62 kB / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.2579, allocations: 0 / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.2579, allocations: 3.938 kB / 0.8979 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.258, allocations: 0 / 0.8979 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.08e-05/0.258, allocations: 7.984 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.828e-05/0.2581, allocations: 23.94 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.2582, allocations: 7.984 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.984e-05/0.2583, allocations: 11.92 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.031e-05/0.2583, allocations: 11.98 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2583, allocations: 0 / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.2584, allocations: 4 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.2584, allocations: 3.938 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.2584, allocations: 4 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.53e-05/0.2585, allocations: 23.89 kB / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2585, allocations: 4 kB / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2585, allocations: 0 / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.2585, allocations: 0 / 0.898 GB, free: 66.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000361/0.2588, allocations: 345.4 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2589, allocations: 8.031 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.2589, allocations: 0.9375 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.161e-05/0.259, allocations: 172.2 kB / 0.8985 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.259, allocations: 4.375 kB / 0.8985 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.259, allocations: 384 / 0.8985 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.2592, allocations: 54.23 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2592, allocations: 192 / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2593, allocations: 3.938 kB / 0.8986 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2593, allocations: 4 kB / 0.8986 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.2594, allocations: 43.97 kB / 0.8986 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.2598, allocations: 245 kB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2599, allocations: 51.19 kB / 0.8989 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.26, allocations: 32.84 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.26, allocations: 3.984 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.2601, allocations: 30.56 kB / 0.899 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.2601, allocations: 4 kB / 0.899 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003196/0.2604, allocations: 97.59 kB / 0.8991 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.2604, allocations: 55.39 kB / 0.8991 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.2605, allocations: 110 kB / 0.8993 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.2605, allocations: 25.7 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.2606, allocations: 80.14 kB / 0.8994 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.2606, allocations: 15.83 kB / 0.8994 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.2606, allocations: 13.72 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/0.2607, allocations: 310.8 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.2607, allocations: 23.98 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.2608, allocations: 19.98 kB / 0.8997 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.261, allocations: 52.88 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.261, allocations: 0 / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001624/0.2611, allocations: 85.45 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2612, allocations: 8 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2612, allocations: 3.938 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2612, allocations: 8.016 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.2613, allocations: 8 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2613, allocations: 0 / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.2613, allocations: 11.98 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2613, allocations: 0 / 0.8999 GB, free: 64.68 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 (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.446e-05/0.2614, allocations: 109.8 kB / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2614, allocations: 7.984 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.2615, allocations: 11.12 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2615, allocations: 0 / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2615, allocations: 0 / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2615, allocations: 3.984 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2616, allocations: 161.6 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2616, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.2617, allocations: 15.98 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2617, allocations: 0 / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2617, allocations: 0 / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2617, allocations: 4 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2617, allocations: 0 / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.2619, allocations: 175.4 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.2619, allocations: 89.05 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2619, allocations: 0 / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.262, allocations: 7.984 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.2621, allocations: 4 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.2621, allocations: 3.938 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.251e-05/0.2621, allocations: 83.28 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2621, allocations: 0 / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001894/0.2623, allocations: 4 kB / 0.9005 GB, free: 63.92 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 (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 0.0001168/0.2624, allocations: 104.5 kB / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.2626, allocations: 43.97 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2626, allocations: 0 / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.2627, allocations: 31.98 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.263, allocations: 11.92 kB / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.2633, allocations: 137 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2634, allocations: 0.6731 MB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.2634, allocations: 11.5 kB / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2634, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.00168/0.2651, allocations: 0.5466 MB / 0.9021 GB, free: 62.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)