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.001431/0.001431, allocations: 105.4 kB / 16.37 MB, free: 6.473 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.001146/0.001146, allocations: 188.4 kB / 17.31 MB, free: 5.82 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001411/0.001412, allocations: 70.41 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2411, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.002369/0.2435, allocations: 0.6584 MB / 0.7855 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2446, allocations: 0.7892 MB / 0.7862 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.2446, allocations: 4 kB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.2447, allocations: 0 / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.2448, allocations: 3.938 kB / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.502e-05/0.2448, allocations: 11.98 kB / 0.7863 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.038e-05/0.2449, allocations: 23.92 kB / 0.7863 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.245, allocations: 7.984 kB / 0.7863 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.079e-05/0.2451, allocations: 4 kB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.2451, allocations: 11.92 kB / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.2452, allocations: 4 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.2452, allocations: 0 / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.2452, allocations: 8 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.2452, allocations: 11.94 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.852e-05/0.2453, allocations: 23.89 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2453, allocations: 0 / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2453, allocations: 0 / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2453, allocations: 0 / 0.7863 GB, free: 1.602 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.00046/0.2458, allocations: 339.4 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2459, allocations: 12.03 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.2459, allocations: 0.9375 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.246, allocations: 164.4 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2461, allocations: 4.375 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.2461, allocations: 4.359 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2463, allocations: 54.17 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2463, allocations: 4.125 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2463, allocations: 3.938 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2463, allocations: 0 / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.2465, allocations: 35.95 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.2469, allocations: 257 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.247, allocations: 38.44 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.2471, allocations: 24.89 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.2472, allocations: 4 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2472, allocations: 30.56 kB / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2472, allocations: 0 / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0003391/0.2475, allocations: 77.56 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.2476, allocations: 55.39 kB / 0.7874 GB, free: 340 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.2477, allocations: 97.92 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2477, allocations: 29.7 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.2477, allocations: 84.14 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.2478, allocations: 4 kB / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.2478, allocations: 17.64 kB / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3695/0.6173, allocations: 310.8 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.6175, allocations: 11.31 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.6175, allocations: 19.09 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.6177, allocations: 35.38 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6177, allocations: 3.75 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002086/0.6179, allocations: 63.75 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.618, allocations: 7.328 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.618, allocations: 3.391 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.618, allocations: 1.938 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.6182, allocations: 24.31 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6182, allocations: 2.594 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.6183, allocations: 6.547 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.6183, allocations: 4.656 kB / 0.7881 GB, free: 48.5 MB / 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 6.711e-05/0.6184, allocations: 116.5 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.6184, allocations: 0 / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.6184, allocations: 6.312 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.6184, allocations: 0 / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6184, allocations: 3.938 kB / 0.7882 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.6184, allocations: 0 / 0.7882 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.6186, allocations: 154.3 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6186, allocations: 1.625 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.6187, allocations: 24.72 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6187, allocations: 3.312 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.6188, allocations: 3.094 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6188, allocations: 0 / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6188, allocations: 7.781 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.619, allocations: 152.7 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.619, allocations: 82.89 kB / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.619, allocations: 4.281 kB / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.6191, allocations: 4.969 kB / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.6191, allocations: 10.98 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.6191, allocations: 0.6562 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.459e-05/0.6192, allocations: 81.27 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6192, allocations: 0 / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002056/0.6194, allocations: 2.688 kB / 0.7887 GB, free: 47.89 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 9.609e-05/0.6195, allocations: 102.6 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.6197, allocations: 36.28 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6197, allocations: 0 / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.6198, allocations: 20.58 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.6201, allocations: 5.219 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.6204, allocations: 117.8 kB / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.6205, allocations: 0.6769 MB / 0.7897 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.6206, allocations: 10.06 kB / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.6206, allocations: 0 / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.001751/0.6223, allocations: 0.5249 MB / 0.7902 GB, free: 46.98 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 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)