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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01014/0.01014, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.001869/0.001869, allocations: 189.6 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.385/1.385, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001448/0.001448, allocations: 75.89 kB / 0.7258 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7205, allocations: 104.7 MB / 0.8281 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002932/0.7235, allocations: 1.422 MB / 0.8295 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0003403/0.7239, allocations: 116.5 kB / 0.8296 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.7239, allocations: 4 kB / 0.8296 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.724, allocations: 7.875 kB / 0.8296 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.518e-05/0.7241, allocations: 11.88 kB / 0.8296 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 6.993e-05/0.7241, allocations: 11.98 kB / 0.8296 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.7242, allocations: 51.83 kB / 0.8297 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.7244, allocations: 12 kB / 0.8297 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.7245, allocations: 23.92 kB / 0.8297 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.7245, allocations: 19.91 kB / 0.8297 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.7246, allocations: 4 kB / 0.8297 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.7246, allocations: 4 kB / 0.8297 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.7246, allocations: 7.938 kB / 0.8298 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.7246, allocations: 23.92 kB / 0.8298 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.7247, allocations: 47.8 kB / 0.8298 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.7248, allocations: 7.984 kB / 0.8298 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7248, allocations: 0 / 0.8298 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.7248, allocations: 0 / 0.8298 GB, free: 0.8047 MB / 0.6231 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.0006293/0.7254, allocations: 365.2 kB / 0.8302 GB, free: 412 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.7255, allocations: 12.03 kB / 0.8302 GB, free: 400 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.7255, allocations: 12.84 kB / 0.8302 GB, free: 388 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.7257, allocations: 176.2 kB / 0.8304 GB, free: 172 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.7257, allocations: 384 / 0.8304 GB, free: 172 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.7257, allocations: 4.375 kB / 0.8304 GB, free: 168 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.726, allocations: 66.22 kB / 0.8304 GB, free: 96 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.726, allocations: 192 / 0.8304 GB, free: 96 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.726, allocations: 3.938 kB / 0.8304 GB, free: 92 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.726, allocations: 0 / 0.8304 GB, free: 92 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.7263, allocations: 71.86 kB / 0.8305 GB, free: 20 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.7269, allocations: 265 kB / 0.8308 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.7271, allocations: 62.47 kB / 0.8308 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.7273, allocations: 40.92 kB / 0.8309 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.7273, allocations: 0 / 0.8309 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.7273, allocations: 30.56 kB / 0.8309 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7273, allocations: 0 / 0.8309 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005838/0.7279, allocations: 149.6 kB / 0.831 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.728, allocations: 51.41 kB / 0.8311 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.7281, allocations: 113.8 kB / 0.8312 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.7281, allocations: 25.7 kB / 0.8312 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.7282, allocations: 88.08 kB / 0.8313 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.7282, allocations: 15.89 kB / 0.8313 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.7282, allocations: 9.719 kB / 0.8313 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7284, allocations: 322.8 kB / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.7285, allocations: 31.95 kB / 0.8317 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.7287, allocations: 31.97 kB / 0.8317 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.7289, allocations: 76.66 kB / 0.8318 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7289, allocations: 0 / 0.8318 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003153/0.7293, allocations: 101.5 kB / 0.8319 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.7293, allocations: 4 kB / 0.8319 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7293, allocations: 0 / 0.8319 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.7293, allocations: 0 / 0.8319 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.7295, allocations: 23.97 kB / 0.8319 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7295, allocations: 0 / 0.8319 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.7296, allocations: 7.984 kB / 0.8319 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.7296, allocations: 8 kB / 0.8319 GB, free: 14.46 MB / 0.6387 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 9.914e-05/0.7297, allocations: 109.8 kB / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.7297, allocations: 4 kB / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.7298, allocations: 7.906 kB / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.7298, allocations: 0 / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.7298, allocations: 4 kB / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.7298, allocations: 11.92 kB / 0.832 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.73, allocations: 169.6 kB / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.73, allocations: 0 / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.434e-05/0.7301, allocations: 11.98 kB / 0.8322 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7301, allocations: 4 kB / 0.8322 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7301, allocations: 4 kB / 0.8322 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.7301, allocations: 3.984 kB / 0.8322 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7301, allocations: 0 / 0.8322 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.7305, allocations: 199.3 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.7306, allocations: 88.95 kB / 0.8325 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.7306, allocations: 0 / 0.8325 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7307, allocations: 11.97 kB / 0.8325 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.7308, allocations: 12 kB / 0.8325 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.7308, allocations: 0 / 0.8325 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.7309, allocations: 99.52 kB / 0.8326 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7309, allocations: 3.938 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002104/0.7311, allocations: 8 kB / 0.8326 GB, free: 13.62 MB / 0.6387 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.0001745/0.7313, allocations: 96.31 kB / 0.8327 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.7316, allocations: 71.92 kB / 0.8328 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7316, allocations: 0 / 0.8328 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.7318, allocations: 39.95 kB / 0.8328 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.7321, allocations: 7.938 kB / 0.8328 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.7325, allocations: 135.8 kB / 0.833 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.7327, allocations: 0.6922 MB / 0.8336 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.7328, allocations: 4.234 kB / 0.8336 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.7328, allocations: 7.438 kB / 0.8336 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.7328, allocations: 4 kB / 0.8336 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of Templates: time 0.002951/0.7358, allocations: 0.6945 MB / 0.8343 GB, free: 11.82 MB / 0.6387 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)