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.383/1.383, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001221/0.00122, allocations: 184.3 kB / 326.5 MB, free: 2.238 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.931/1.931, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001009/0.001009, allocations: 84.19 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003831, allocations: 12.81 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.4413, allocations: 131.3 MB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4416, allocations: 71.97 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001529/0.4432, allocations: 0.5946 MB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4432, allocations: 0 / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4432, allocations: 4 kB / 1.029 GB, free: 11.62 MB / 0.6823 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.0004164/0.4436, allocations: 355.1 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4437, allocations: 8.031 kB / 1.029 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.4438, allocations: 34.55 kB / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.4438, allocations: 4 kB / 1.029 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.4439, allocations: 163 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4439, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.4439, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.4441, allocations: 57.67 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.4442, allocations: 4 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.4442, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.4442, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.4443, allocations: 47.91 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.4448, allocations: 268.8 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.4449, allocations: 42.55 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.445, allocations: 0 / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.445, allocations: 30.56 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 2.976e-06/0.445, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003444/0.4453, allocations: 97.64 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.4454, allocations: 51.41 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4455, allocations: 96.98 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.4455, allocations: 25.7 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.4456, allocations: 84.08 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.4456, allocations: 12.03 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.4456, allocations: 0 / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.4457, allocations: 318.8 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.4458, allocations: 15.98 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.4459, allocations: 19.98 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.446, allocations: 28.03 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.446, allocations: 0 / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001854/0.4462, allocations: 69.61 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4462, allocations: 8 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4462, allocations: 0 / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4463, allocations: 0 / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.4464, allocations: 15.98 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4464, allocations: 0 / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.4464, allocations: 7.984 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4464, allocations: 3.938 kB / 1.031 GB, free: 9.57 MB / 0.6823 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 7.571e-05/0.4465, allocations: 119.9 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.4465, allocations: 0 / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.4466, allocations: 3.125 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.4466, allocations: 0 / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4466, allocations: 0 / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4466, allocations: 7.938 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4468, allocations: 165.6 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4468, allocations: 0 / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.4468, allocations: 8 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4468, allocations: 4 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4469, allocations: 0 / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.4469, allocations: 3.984 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.4469, allocations: 3.938 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.4471, allocations: 167.5 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.4471, allocations: 81.11 kB / 1.031 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.4472, allocations: 3.984 kB / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.4472, allocations: 4 kB / 1.031 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.4473, allocations: 7.984 kB / 1.031 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.4473, allocations: 0 / 1.031 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.4473, allocations: 83.31 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4473, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001906/0.4475, allocations: 3.906 kB / 1.032 GB, free: 8.824 MB / 0.6823 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.0005502/0.4481, allocations: 0.7091 MB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4483, allocations: 40 kB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4483, allocations: 4.062 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.4484, allocations: 23.97 kB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.4486, allocations: 0 / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.449, allocations: 138.3 kB / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.4493, allocations: 0.6848 MB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.4493, allocations: 0 / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.4494, allocations: 7.438 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4494, allocations: 0 / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.4606, allocations: 0.9711 MB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.4608, allocations: 199.4 kB / 1.034 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.997, allocations: 2.188 kB / 1.034 GB, free: 6.082 MB / 0.6823 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)