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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009946/0.009946, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001688/0.001688, allocations: 191.3 kB / 16.67 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.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.492/1.492, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.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.001485/0.001486, allocations: 75.88 kB / 0.7258 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8239, allocations: 104.7 MB / 0.8281 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.003169/0.8271, allocations: 1.36 MB / 0.8294 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0004447/0.8276, allocations: 108.5 kB / 0.8295 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.8276, allocations: 4 kB / 0.8295 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.8277, allocations: 3.938 kB / 0.8295 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.8278, allocations: 3.984 kB / 0.8295 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 6.56e-05/0.8278, allocations: 4 kB / 0.8295 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.8279, allocations: 23.92 kB / 0.8296 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.8281, allocations: 7.984 kB / 0.8296 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 8.275e-05/0.8281, allocations: 11.94 kB / 0.8296 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.8282, allocations: 7.984 kB / 0.8296 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.8282, allocations: 11.88 kB / 0.8296 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.8283, allocations: 4 kB / 0.8296 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.8283, allocations: 4 kB / 0.8296 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.8283, allocations: 7.938 kB / 0.8296 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.8284, allocations: 27.94 kB / 0.8296 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8284, allocations: 0 / 0.8296 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8285, allocations: 0 / 0.8296 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8285, allocations: 4 kB / 0.8297 GB, free: 0.9883 MB / 0.6231 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.0004634/0.8289, allocations: 335 kB / 0.83 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.829, allocations: 12.03 kB / 0.83 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.829, allocations: 8.844 kB / 0.83 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.8292, allocations: 160.4 kB / 0.8301 GB, free: 408 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.8292, allocations: 384 / 0.8301 GB, free: 408 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.8292, allocations: 4.312 kB / 0.8302 GB, free: 404 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.8294, allocations: 50.23 kB / 0.8302 GB, free: 348 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8294, allocations: 192 / 0.8302 GB, free: 348 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.8294, allocations: 3.938 kB / 0.8302 GB, free: 344 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8294, allocations: 4 kB / 0.8302 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.8296, allocations: 31.97 kB / 0.8302 GB, free: 308 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.8301, allocations: 260.9 kB / 0.8305 GB, free: 16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.8302, allocations: 34.5 kB / 0.8305 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.8303, allocations: 28.89 kB / 0.8305 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.8303, allocations: 0 / 0.8305 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.8303, allocations: 34.55 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.8303, allocations: 0 / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0003336/0.8307, allocations: 77.59 kB / 0.8307 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.8307, allocations: 55.53 kB / 0.8307 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.8308, allocations: 101.8 kB / 0.8308 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.8308, allocations: 25.7 kB / 0.8308 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.8308, allocations: 88.05 kB / 0.8309 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.8309, allocations: 0 / 0.8309 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.8309, allocations: 13.72 kB / 0.8309 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.831, allocations: 314.8 kB / 0.8312 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.8311, allocations: 15.98 kB / 0.8312 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.8311, allocations: 15.98 kB / 0.8313 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.8313, allocations: 32.83 kB / 0.8313 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8313, allocations: 3.938 kB / 0.8313 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001785/0.8315, allocations: 65.59 kB / 0.8314 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.8315, allocations: 8.094 kB / 0.8314 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8315, allocations: 4 kB / 0.8314 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.8316, allocations: 0 / 0.8314 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.8318, allocations: 23.95 kB / 0.8314 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8318, allocations: 3.938 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.8318, allocations: 4 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8318, allocations: 4 kB / 0.8314 GB, free: 14.98 MB / 0.6387 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 0.0001025/0.832, allocations: 114.8 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.832, allocations: 7.891 kB / 0.8315 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.832, allocations: 11.08 kB / 0.8315 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.832, allocations: 4 kB / 0.8315 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.832, allocations: 7.938 kB / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8321, allocations: 0 / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.8322, allocations: 155.9 kB / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8322, allocations: 0 / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.8324, allocations: 27.95 kB / 0.8317 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8324, allocations: 8 kB / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.8324, allocations: 0 / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.8324, allocations: 0 / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8324, allocations: 3.938 kB / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.8327, allocations: 155.5 kB / 0.8319 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.8328, allocations: 77.11 kB / 0.8319 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.8328, allocations: 4.031 kB / 0.8319 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.8329, allocations: 7.984 kB / 0.832 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.8329, allocations: 4 kB / 0.832 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.8329, allocations: 0 / 0.832 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.833, allocations: 83.28 kB / 0.832 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.833, allocations: 0 / 0.832 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002111/0.8332, allocations: 0 / 0.832 GB, free: 14.23 MB / 0.6387 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.0002345/0.8335, allocations: 103.2 kB / 0.8321 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.8337, allocations: 39.89 kB / 0.8322 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8338, allocations: 0 / 0.8322 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.8338, allocations: 11.98 kB / 0.8322 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.8342, allocations: 7.938 kB / 0.8322 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.8346, allocations: 101.8 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.8348, allocations: 0.6805 MB / 0.833 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.8348, allocations: 0 / 0.833 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.8349, allocations: 11.44 kB / 0.833 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.8349, allocations: 0 / 0.833 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.002562/0.8374, allocations: 422.2 kB / 0.8334 GB, free: 12.8 MB / 0.6387 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)