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.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 171.8 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007717/0.0007717, allocations: 86.36 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.000343, allocations: 15.03 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 106.3 MB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.00138/0.2257, allocations: 1.09 MB / 0.9019 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002446/0.2259, allocations: 101.8 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.226, allocations: 0 / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.226, allocations: 0 / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.2261, allocations: 7.875 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.197e-05/0.2261, allocations: 11.98 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.2262, allocations: 16 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2263, allocations: 3.984 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.2264, allocations: 7.938 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.739e-05/0.2264, allocations: 15.98 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2264, allocations: 0 / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-06/0.2264, allocations: 3.938 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.2265, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.2265, allocations: 29.7 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.604e-05/0.2265, allocations: 19.97 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2265, allocations: 0 / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2266, allocations: 0 / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2266, allocations: 0 / 0.9021 GB, free: 62.54 MB / 0.6042 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.0003747/0.2269, allocations: 335.3 kB / 0.9024 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.227, allocations: 8.031 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.227, allocations: 0 / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.2271, allocations: 175 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2272, allocations: 0 / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2272, allocations: 4 kB / 0.9026 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2273, allocations: 61.55 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2274, allocations: 0 / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2274, allocations: 8 kB / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2274, allocations: 0 / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.2275, allocations: 35.97 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.2279, allocations: 277 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.228, allocations: 38.5 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.2281, allocations: 28.91 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.2281, allocations: 0 / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.2281, allocations: 34.56 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.2281, allocations: 0 / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000335/0.2285, allocations: 89.64 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.2285, allocations: 51.41 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.46e-05/0.2286, allocations: 109.8 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.2286, allocations: 29.7 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.2286, allocations: 84.27 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.2286, allocations: 7.844 kB / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.2286, allocations: 0 / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.2287, allocations: 314.8 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.2288, allocations: 23.98 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.2289, allocations: 23.97 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.2289, allocations: 19.98 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.229, allocations: 3.938 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001722/0.2291, allocations: 69.73 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2291, allocations: 4 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2292, allocations: 0 / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2292, allocations: 3.984 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.2294, allocations: 40 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2294, allocations: 0 / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.2294, allocations: 11.98 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2295, allocations: 3.953 kB / 0.9039 GB, free: 60.46 MB / 0.6042 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 4.972e-05/0.2295, allocations: 109.8 kB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.2295, allocations: 3.938 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.2296, allocations: 3.125 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2296, allocations: 0 / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2296, allocations: 4 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2296, allocations: 3.938 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.2297, allocations: 161.6 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2297, allocations: 0 / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2298, allocations: 31.97 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2299, allocations: 8 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2299, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2299, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2299, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.2301, allocations: 175.5 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.2301, allocations: 81.02 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2301, allocations: 4 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.2302, allocations: 7.984 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.2302, allocations: 4 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.2303, allocations: 0 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.357e-05/0.2303, allocations: 91.2 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2303, allocations: 32 / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001829/0.2305, allocations: 4 kB / 0.9046 GB, free: 59.69 MB / 0.6042 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.0001181/0.2306, allocations: 101.8 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.2308, allocations: 35.97 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2308, allocations: 8.062 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.2309, allocations: 19.98 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.2312, allocations: 7.938 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.2314, allocations: 130.4 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.958e-05/0.2315, allocations: 0.681 MB / 0.9056 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.2316, allocations: 7.438 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2316, allocations: 3.938 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.001526/0.2331, allocations: 0.5109 MB / 0.9061 GB, free: 58.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)