Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 102.7 kB / 16.29 MB, free: 6.434 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.0015/0.0015, allocations: 187.5 kB / 17.22 MB, free: 5.93 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.388/1.388, allocations: 205.1 MB / 223.1 MB, free: 12.35 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.896/1.896, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.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.001477/0.001477, allocations: 67.89 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2647, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.002304/0.267, allocations: 0.6587 MB / 0.7847 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2681, allocations: 0.7893 MB / 0.7855 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.2681, allocations: 4 kB / 0.7855 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.2682, allocations: 0 / 0.7855 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.279e-05/0.2682, allocations: 3.938 kB / 0.7855 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.161e-05/0.2683, allocations: 11.98 kB / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.2684, allocations: 23.88 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2685, allocations: 7.984 kB / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.2686, allocations: 8 kB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.2686, allocations: 7.922 kB / 0.7856 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2686, allocations: 4 kB / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.2686, allocations: 4 kB / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.2687, allocations: 4 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.2687, allocations: 15.92 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.654e-05/0.2688, allocations: 27.89 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2688, allocations: 0 / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2688, allocations: 0 / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.2688, allocations: 0 / 0.7856 GB, free: 2.223 MB / 0.6544 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.0004732/0.2693, allocations: 339.7 kB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2693, allocations: 11.97 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.2694, allocations: 4.938 kB / 0.786 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2695, allocations: 168.3 kB / 0.7861 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.2695, allocations: 384 / 0.7861 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.2695, allocations: 384 / 0.7861 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.2697, allocations: 54.22 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.2697, allocations: 192 / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2697, allocations: 3.938 kB / 0.7862 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2697, allocations: 0 / 0.7862 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.2699, allocations: 39.95 kB / 0.7862 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.2703, allocations: 248.9 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.2704, allocations: 46.47 kB / 0.7865 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.224e-05/0.2705, allocations: 16.91 kB / 0.7865 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.2705, allocations: 4 kB / 0.7865 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2705, allocations: 30.56 kB / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2705, allocations: 0 / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0003049/0.2709, allocations: 81.48 kB / 0.7866 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2709, allocations: 55.41 kB / 0.7867 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/0.271, allocations: 97.98 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.271, allocations: 25.7 kB / 0.7868 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.2711, allocations: 88.14 kB / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2711, allocations: 3.984 kB / 0.7869 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.2711, allocations: 9.719 kB / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2713, allocations: 314.8 kB / 0.7872 GB, free: 404 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.2713, allocations: 15.98 kB / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.835e-05/0.2714, allocations: 15.98 kB / 0.7872 GB, free: 372 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.2715, allocations: 36.81 kB / 0.7873 GB, free: 332 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2715, allocations: 3.938 kB / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000161/0.2717, allocations: 65.52 kB / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2717, allocations: 4 kB / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2717, allocations: 96 / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2718, allocations: 4 kB / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.2719, allocations: 27.95 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.272, allocations: 0 / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.272, allocations: 4 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.272, allocations: 3.984 kB / 0.7874 GB, free: 212 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/0.2721, allocations: 117.7 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.2721, allocations: 7.938 kB / 0.7875 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.2722, allocations: 7.125 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2722, allocations: 4 kB / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2722, allocations: 0 / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2722, allocations: 0 / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4754/0.7476, allocations: 154.2 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7476, allocations: 0 / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.7478, allocations: 28.36 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.7479, allocations: 1.219 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.7479, allocations: 0.7188 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7479, allocations: 2.469 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7479, allocations: 0.5938 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.7482, allocations: 160.1 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.7482, allocations: 79.55 kB / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.7482, allocations: 0 / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.7483, allocations: 7.344 kB / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.7484, allocations: 3.375 kB / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.7484, allocations: 0 / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.398e-05/0.7484, allocations: 88.36 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.62e-07/0.7484, allocations: 0 / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002727/0.7487, allocations: 5.5 kB / 0.788 GB, free: 48.14 MB / 0.6544 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 (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.0001167/0.7488, allocations: 98.03 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.749, allocations: 32.44 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.749, allocations: 0 / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.7491, allocations: 16.03 kB / 0.7882 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.7495, allocations: 9.438 kB / 0.7882 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.7498, allocations: 101 kB / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.75, allocations: 0.6772 MB / 0.7889 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.75, allocations: 0 / 0.7889 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.7501, allocations: 7.438 kB / 0.7889 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.7501, allocations: 2.438 kB / 0.7889 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.002523/0.7526, allocations: 422.2 kB / 0.7893 GB, free: 47.27 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)