Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.669/1.669, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009956/0.000996, allocations: 182.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008335/0.0008331, allocations: 92.86 kB / 0.7808 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004352, allocations: 8 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7908, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.9869, allocations: 141.2 MB / 1.164 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.9872, allocations: 91.08 kB / 1.164 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001392/0.9886, allocations: 0.6034 MB / 1.165 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9887, allocations: 0 / 1.165 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.9887, allocations: 0 / 1.165 GB, free: 1.664 MB / 0.7292 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.0002863/0.989, allocations: 349.5 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.989, allocations: 8.719 kB / 1.165 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.989, allocations: 1.562 kB / 1.165 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.829e-05/0.9892, allocations: 173.8 kB / 1.165 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.9892, allocations: 1.312 kB / 1.165 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.9892, allocations: 384 / 1.165 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.9894, allocations: 53.11 kB / 1.165 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9894, allocations: 1.219 kB / 1.165 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.9894, allocations: 3.938 kB / 1.165 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.9894, allocations: 2.812 kB / 1.165 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.9895, allocations: 47.03 kB / 1.166 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.9899, allocations: 261.7 kB / 1.166 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.438e-05/0.99, allocations: 46.02 kB / 1.166 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.9901, allocations: 23.23 kB / 1.166 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.9901, allocations: 1.188 kB / 1.166 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.9901, allocations: 35.39 kB / 1.166 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.9901, allocations: 3.703 kB / 1.166 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002891/0.9904, allocations: 90.47 kB / 1.166 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.9905, allocations: 56.88 kB / 1.166 GB, free: 456 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.9905, allocations: 96.39 kB / 1.166 GB, free: 352 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.9906, allocations: 25.7 kB / 1.166 GB, free: 320 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.9906, allocations: 94.78 kB / 1.166 GB, free: 224 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.9906, allocations: 3.906 kB / 1.166 GB, free: 220 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.9906, allocations: 2.953 kB / 1.166 GB, free: 220 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.9907, allocations: 314.5 kB / 1.167 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-05/0.9908, allocations: 18 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.838e-05/0.9909, allocations: 29.5 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.991, allocations: 44.61 kB / 1.167 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.991, allocations: 5.469 kB / 1.167 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001711/0.9912, allocations: 69.72 kB / 1.167 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.9912, allocations: 4.75 kB / 1.167 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.9912, allocations: 0 / 1.167 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.9913, allocations: 1.438 kB / 1.167 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.9913, allocations: 12.42 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.9914, allocations: 2.016 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.9914, allocations: 16.89 kB / 1.167 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.9914, allocations: 0 / 1.167 GB, free: 15.74 MB / 0.7448 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 (1): * Single equations (assignments): 1 * 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 8.421e-05/0.9915, allocations: 111 kB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.9915, allocations: 0 / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.9916, allocations: 13.45 kB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9916, allocations: 0 / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.9916, allocations: 1.219 kB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9916, allocations: 0.5625 kB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.9918, allocations: 160.7 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9918, allocations: 1 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.9918, allocations: 11.7 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.9918, allocations: 3.406 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.9919, allocations: 0 / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9919, allocations: 0 / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.9919, allocations: 0 / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.9921, allocations: 178.7 kB / 1.167 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.9922, allocations: 79.64 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.9922, allocations: 3.438 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.9923, allocations: 10.81 kB / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.9923, allocations: 2.25 kB / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.9923, allocations: 0 / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.9924, allocations: 80.38 kB / 1.167 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9924, allocations: 7.938 kB / 1.167 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001901/0.9926, allocations: 4 kB / 1.167 GB, free: 15.04 MB / 0.7448 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 (1): * Single equations (assignments): 1 * 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.0001339/0.9927, allocations: 96.75 kB / 1.167 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.9929, allocations: 46.03 kB / 1.167 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9929, allocations: 0 / 1.167 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.993, allocations: 24.36 kB / 1.168 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.9933, allocations: 6.469 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.9936, allocations: 106 kB / 1.168 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.9939, allocations: 0.6758 MB / 1.168 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.434e-05/0.994, allocations: 0.75 kB / 1.168 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.994, allocations: 11.44 kB / 1.168 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of SimCode: time 3.306e-06/0.994, allocations: 0 / 1.168 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.002281/0.9963, allocations: 343.6 kB / 1.169 GB, free: 13.87 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)