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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 252 MB / 0.5102 GB, free: 4.719 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005906/0.0005907, allocations: 23.98 kB / 0.6243 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6297, allocations: 106.3 MB / 0.7282 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001682/0.6315, allocations: 1.098 MB / 0.7292 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.6318, allocations: 96.59 kB / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.6318, allocations: 4 kB / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.6319, allocations: 0 / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.632, allocations: 0 / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 7.097e-05/0.632, allocations: 7.984 kB / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.593e-05/0.6321, allocations: 19.94 kB / 0.7293 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.6322, allocations: 7.984 kB / 0.7294 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.6323, allocations: 7.938 kB / 0.7294 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.502e-05/0.6323, allocations: 15.92 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.6323, allocations: 4 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-06/0.6323, allocations: 0 / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.6324, allocations: 0 / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.6324, allocations: 25.7 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.149e-05/0.6324, allocations: 23.95 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.6324, allocations: 0 / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6325, allocations: 3.938 kB / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.6325, allocations: 0 / 0.7294 GB, free: 10.06 MB / 0.545 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.0004371/0.6329, allocations: 341.3 kB / 0.7298 GB, free: 9.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.633, allocations: 8.031 kB / 0.7298 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.633, allocations: 0 / 0.7298 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.6331, allocations: 182.9 kB / 0.7299 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.6332, allocations: 3.938 kB / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.6332, allocations: 0 / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.6334, allocations: 61.61 kB / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6334, allocations: 0 / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.6334, allocations: 4 kB / 0.73 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6334, allocations: 0 / 0.73 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.6336, allocations: 43.95 kB / 0.73 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.6339, allocations: 248.9 kB / 0.7303 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.6341, allocations: 42.5 kB / 0.7303 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.6342, allocations: 36.89 kB / 0.7304 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.6342, allocations: 0 / 0.7304 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.6342, allocations: 34.56 kB / 0.7304 GB, free: 8.914 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.6342, allocations: 3.984 kB / 0.7304 GB, free: 8.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003277/0.6345, allocations: 93.66 kB / 0.7305 GB, free: 8.812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.6346, allocations: 55.39 kB / 0.7305 GB, free: 8.746 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.6347, allocations: 101.9 kB / 0.7306 GB, free: 8.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.6347, allocations: 29.64 kB / 0.7307 GB, free: 8.602 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.6348, allocations: 80.14 kB / 0.7307 GB, free: 8.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.6348, allocations: 7.891 kB / 0.7307 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.6348, allocations: 4.125 kB / 0.7308 GB, free: 8.508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6349, allocations: 322.8 kB / 0.7311 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.635, allocations: 15.98 kB / 0.7311 GB, free: 8.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.6351, allocations: 23.98 kB / 0.7311 GB, free: 8.145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.188e-05/0.6352, allocations: 24.03 kB / 0.7311 GB, free: 8.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6352, allocations: 0 / 0.7311 GB, free: 8.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.6354, allocations: 81.67 kB / 0.7312 GB, free: 8.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6354, allocations: 4 kB / 0.7312 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6354, allocations: 0 / 0.7312 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6354, allocations: 0 / 0.7312 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.6355, allocations: 16.17 kB / 0.7312 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6355, allocations: 0 / 0.7312 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.6356, allocations: 19.89 kB / 0.7312 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.6356, allocations: 0 / 0.7312 GB, free: 7.996 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.486e-05/0.6357, allocations: 117.8 kB / 0.7314 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.6357, allocations: 4 kB / 0.7314 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.6357, allocations: 7.125 kB / 0.7314 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6357, allocations: 0 / 0.7314 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6357, allocations: 0 / 0.7314 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.6358, allocations: 0 / 0.7314 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.6359, allocations: 165.6 kB / 0.7315 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6359, allocations: 0 / 0.7315 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.636, allocations: 11.98 kB / 0.7315 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.636, allocations: 7.938 kB / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.636, allocations: 0 / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.636, allocations: 0 / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.636, allocations: 0 / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.6363, allocations: 179.5 kB / 0.7317 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.6363, allocations: 77.11 kB / 0.7318 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.6363, allocations: 0 / 0.7318 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.6364, allocations: 11.98 kB / 0.7318 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.6364, allocations: 3.938 kB / 0.7318 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.6365, allocations: 0 / 0.7318 GB, free: 7.328 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.6365, allocations: 83.28 kB / 0.7319 GB, free: 7.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6365, allocations: 4.031 kB / 0.7319 GB, free: 7.242 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002033/0.6367, allocations: 4 kB / 0.7319 GB, free: 7.238 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.6369, allocations: 103.2 kB / 0.732 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.6371, allocations: 43.97 kB / 0.732 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6371, allocations: 0 / 0.732 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.6372, allocations: 23.98 kB / 0.732 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.6375, allocations: 7.953 kB / 0.7321 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.6378, allocations: 124.6 kB / 0.7322 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.6381, allocations: 0.677 MB / 0.7328 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.675e-05/0.6382, allocations: 0 / 0.7328 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.6382, allocations: 7.438 kB / 0.7328 GB, free: 6.195 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.6382, allocations: 4 kB / 0.7328 GB, free: 6.191 MB / 0.545 GB Notification: Performance of Templates: time 0.002404/0.6406, allocations: 356.4 kB / 0.7332 GB, free: 5.848 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: