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.Sin.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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 193 kB / 16.53 MB, free: 6.391 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.673/1.673, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.733/1.733, allocations: 251.7 MB / 0.5092 GB, free: 3.152 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.001592/0.001592, allocations: 67.91 kB / 0.6223 GB, free: 1.504 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.6382, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002799/0.6411, allocations: 1.362 MB / 0.7259 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.6415, allocations: 131.4 kB / 0.726 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.6415, allocations: 7.938 kB / 0.726 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.6415, allocations: 3.938 kB / 0.726 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.6416, allocations: 3.938 kB / 0.726 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.6418, allocations: 11.98 kB / 0.726 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.484e-05/0.6419, allocations: 19.98 kB / 0.726 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.642, allocations: 8 kB / 0.726 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.642, allocations: 15.86 kB / 0.7261 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.6421, allocations: 4 kB / 0.7261 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.6421, allocations: 4 kB / 0.7261 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.6421, allocations: 4 kB / 0.7261 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.6422, allocations: 11.92 kB / 0.7261 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.6422, allocations: 7.984 kB / 0.7261 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.482e-05/0.6423, allocations: 19.91 kB / 0.7261 GB, free: 11.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6423, allocations: 0 / 0.7261 GB, free: 11.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6423, allocations: 0 / 0.7261 GB, free: 11.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.6423, allocations: 0 / 0.7261 GB, free: 11.33 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.0005376/0.6429, allocations: 341.4 kB / 0.7264 GB, free: 10.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.6429, allocations: 8.031 kB / 0.7264 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.643, allocations: 4.938 kB / 0.7264 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.6431, allocations: 172.3 kB / 0.7266 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.6431, allocations: 384 / 0.7266 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.6432, allocations: 384 / 0.7266 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.6434, allocations: 50.23 kB / 0.7267 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6434, allocations: 192 / 0.7267 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.6434, allocations: 3.938 kB / 0.7267 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6434, allocations: 3.938 kB / 0.7267 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.6436, allocations: 43.94 kB / 0.7267 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.644, allocations: 244.9 kB / 0.7269 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.6442, allocations: 42.53 kB / 0.727 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.6443, allocations: 16.91 kB / 0.727 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.6443, allocations: 8 kB / 0.727 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.6443, allocations: 38.5 kB / 0.727 GB, free: 10.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6443, allocations: 3.938 kB / 0.727 GB, free: 10.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003648/0.6447, allocations: 77.64 kB / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.6448, allocations: 51.41 kB / 0.7272 GB, free: 10.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.6449, allocations: 106 kB / 0.7273 GB, free: 9.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.6449, allocations: 25.7 kB / 0.7273 GB, free: 9.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.6449, allocations: 80.14 kB / 0.7274 GB, free: 9.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.645, allocations: 11.91 kB / 0.7274 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.645, allocations: 9.719 kB / 0.7274 GB, free: 9.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6451, allocations: 318.8 kB / 0.7277 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.6452, allocations: 19.97 kB / 0.7277 GB, free: 9.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/0.6453, allocations: 19.92 kB / 0.7277 GB, free: 9.445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.6455, allocations: 40.77 kB / 0.7278 GB, free: 9.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6455, allocations: 4 kB / 0.7278 GB, free: 9.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001968/0.6457, allocations: 73.59 kB / 0.7278 GB, free: 9.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.6457, allocations: 4 kB / 0.7278 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.6457, allocations: 4.094 kB / 0.7279 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6457, allocations: 0 / 0.7279 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.6458, allocations: 11.98 kB / 0.7279 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6458, allocations: 0 / 0.7279 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.6459, allocations: 11.89 kB / 0.7279 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.6459, allocations: 0 / 0.7279 GB, free: 9.289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.248e-05/0.646, allocations: 109.8 kB / 0.728 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.646, allocations: 4 kB / 0.728 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.6463, allocations: 76.72 kB / 0.7281 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6463, allocations: 0 / 0.7281 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6463, allocations: 0 / 0.7281 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6463, allocations: 0 / 0.7281 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.6465, allocations: 161.6 kB / 0.7282 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.6465, allocations: 4 kB / 0.7282 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.6466, allocations: 4 kB / 0.7282 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6466, allocations: 0 / 0.7282 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.6466, allocations: 4.031 kB / 0.7282 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6466, allocations: 3.984 kB / 0.7282 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.6466, allocations: 4 kB / 0.7282 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.6469, allocations: 159.4 kB / 0.7284 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.647, allocations: 85.09 kB / 0.7285 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.647, allocations: 3.938 kB / 0.7285 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.6471, allocations: 8.031 kB / 0.7285 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.6471, allocations: 3.984 kB / 0.7285 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.6471, allocations: 0 / 0.7285 GB, free: 8.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.6472, allocations: 83.28 kB / 0.7286 GB, free: 8.488 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6472, allocations: 0 / 0.7286 GB, free: 8.488 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002053/0.6474, allocations: 4 kB / 0.7286 GB, free: 8.484 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 (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.0001829/0.6476, allocations: 99.25 kB / 0.7287 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.6478, allocations: 39.95 kB / 0.7287 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6478, allocations: 0 / 0.7287 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.6479, allocations: 23.92 kB / 0.7287 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.6482, allocations: 7.938 kB / 0.7287 GB, free: 8.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.6485, allocations: 113.5 kB / 0.7288 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.6488, allocations: 0.6768 MB / 0.7295 GB, free: 7.465 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.6488, allocations: 3.938 kB / 0.7295 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.6489, allocations: 7.438 kB / 0.7295 GB, free: 7.453 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6489, allocations: 0 / 0.7295 GB, free: 7.453 MB / 0.545 GB Notification: Performance of Templates: time 0.00248/0.6514, allocations: 445.1 kB / 0.7299 GB, free: 7.023 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)