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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 190 kB / 316.3 MB, free: 3.305 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.397/1.397, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008285/0.0008285, allocations: 92.42 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.092e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1765, allocations: 106.4 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6337/0.8102, allocations: 131.5 MB / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.8105, allocations: 74.95 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001545/0.812, allocations: 0.5947 MB / 1.014 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.322e-06/0.812, allocations: 0 / 1.014 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.8121, allocations: 0 / 1.014 GB, free: 5.27 MB / 0.6355 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.0003569/0.8124, allocations: 339.6 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.8125, allocations: 8.031 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.8125, allocations: 0.8438 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.8127, allocations: 171 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.8127, allocations: 0 / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.8127, allocations: 0 / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.586e-05/0.8128, allocations: 7.938 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.824e-05/0.8128, allocations: 33.58 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8129, allocations: 4 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.8129, allocations: 7.938 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.8129, allocations: 0 / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.8133, allocations: 245.2 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.11e-05/0.8133, allocations: 26.27 kB / 1.015 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.8134, allocations: 8.922 kB / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.8134, allocations: 0 / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.8134, allocations: 30.56 kB / 1.015 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.8134, allocations: 0 / 1.015 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001166/0.8135, allocations: 41.58 kB / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.8136, allocations: 54.14 kB / 1.015 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/0.8136, allocations: 104.7 kB / 1.015 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.8137, allocations: 25.7 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.8137, allocations: 80.14 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.8137, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.8137, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.8138, allocations: 322.4 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.8139, allocations: 0 / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.035e-05/0.8139, allocations: 4 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.272e-05/0.8139, allocations: 0 / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.8139, allocations: 4.062 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.721e-05/0.814, allocations: 45.47 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.814, allocations: 4 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.814, allocations: 0 / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.814, allocations: 3.938 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.8141, allocations: 14.23 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.8141, allocations: 0 / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.8142, allocations: 11.97 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.8142, allocations: 4 kB / 1.016 GB, free: 3.543 MB / 0.6355 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 () * 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 6.191e-05/0.8143, allocations: 104.9 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.087e-05/0.8143, allocations: 41.62 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.8144, allocations: 0 / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.8144, allocations: 7.703 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.8144, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8144, allocations: 4 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8144, allocations: 3.938 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.8145, allocations: 142.1 kB / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8146, allocations: 0 / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.8146, allocations: 7.984 kB / 1.016 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8146, allocations: 4 kB / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.8146, allocations: 0 / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8146, allocations: 0 / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.8146, allocations: 0 / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.8148, allocations: 143.7 kB / 1.016 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.8148, allocations: 81.02 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.8148, allocations: 3.938 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.8149, allocations: 11.98 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.815, allocations: 0 / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.815, allocations: 0.625 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.815, allocations: 83.16 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.815, allocations: 0 / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001971/0.8152, allocations: 4 kB / 1.017 GB, free: 2.84 MB / 0.6355 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 () * 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.0003753/0.8156, allocations: 0.672 MB / 1.017 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.69e-05/0.8157, allocations: 11.81 kB / 1.017 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.8157, allocations: 0 / 1.017 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.8157, allocations: 4.094 kB / 1.017 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.8159, allocations: 4.062 kB / 1.017 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.8162, allocations: 81.59 kB / 1.017 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.8164, allocations: 0.6768 MB / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.8165, allocations: 0 / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.8165, allocations: 11.44 kB / 1.018 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of SimCode: time 2.304e-06/0.8165, allocations: 0 / 1.018 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.8346, allocations: 0.6693 MB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.8348, allocations: 162.8 kB / 1.019 GB, free: 468 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.425/2.26, allocations: 8.031 kB / 1.019 GB, free: 460 kB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)