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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_8_Buildings_Obsolete_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 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 176.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009328/0.0009327, allocations: 96.42 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.587e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7622, allocations: 116.3 MB / 0.9734 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.9589, allocations: 138.2 MB / 1.108 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.9593, allocations: 90.36 kB / 1.108 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001528/0.9608, allocations: 0.6031 MB / 1.109 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9608, allocations: 0.8438 kB / 1.109 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.9609, allocations: 0 / 1.109 GB, free: 11.26 MB / 0.7136 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.0003702/0.9612, allocations: 341.4 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.9613, allocations: 12.03 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.9613, allocations: 0.5625 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.9615, allocations: 175.7 kB / 1.11 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.9615, allocations: 0 / 1.11 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.9615, allocations: 4.359 kB / 1.11 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.718e-05/0.9616, allocations: 4 kB / 1.11 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.295e-05/0.9616, allocations: 38.31 kB / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.9617, allocations: 0.5625 kB / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.9617, allocations: 4.938 kB / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.9617, allocations: 0 / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.9621, allocations: 246.4 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.9621, allocations: 23.33 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.9622, allocations: 13.45 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.9622, allocations: 0.5938 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.9622, allocations: 35.27 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.9622, allocations: 0.5938 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.9623, allocations: 30.61 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.9624, allocations: 55.41 kB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.9625, allocations: 95.56 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.9625, allocations: 26.67 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.9626, allocations: 84.12 kB / 1.11 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.9626, allocations: 4.625 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.9626, allocations: 0 / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.9627, allocations: 323.9 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.9627, allocations: 4 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-06/0.9627, allocations: 1.312 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.38e-05/0.9628, allocations: 8 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.9628, allocations: 0 / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.426e-05/0.9628, allocations: 35.17 kB / 1.111 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.9629, allocations: 4 kB / 1.111 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9629, allocations: 3.984 kB / 1.111 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.9629, allocations: 1.875 kB / 1.111 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.963, allocations: 8 kB / 1.111 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.963, allocations: 0 / 1.111 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.9631, allocations: 16.73 kB / 1.111 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.9631, allocations: 2.969 kB / 1.111 GB, free: 9.527 MB / 0.7136 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 7.13e-05/0.9632, allocations: 106.2 kB / 1.111 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.696e-05/0.9632, allocations: 45.33 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.9633, allocations: 0 / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.9633, allocations: 11.44 kB / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.9633, allocations: 0 / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9633, allocations: 6.562 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.9633, allocations: 0 / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.9635, allocations: 134.2 kB / 1.111 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.9635, allocations: 4 kB / 1.111 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.9635, allocations: 7.984 kB / 1.111 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9635, allocations: 1.125 kB / 1.111 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.9635, allocations: 4 kB / 1.111 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9636, allocations: 0 / 1.111 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9636, allocations: 3.375 kB / 1.111 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.664e-05/0.9637, allocations: 135.4 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.9637, allocations: 83.84 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.9637, allocations: 0 / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.9638, allocations: 14.62 kB / 1.111 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.9639, allocations: 8.172 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.9639, allocations: 0 / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.9639, allocations: 83.28 kB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9639, allocations: 0 / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000192/0.9641, allocations: 4 kB / 1.111 GB, free: 8.82 MB / 0.7136 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.0003641/0.9645, allocations: 0.6656 MB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.395e-05/0.9646, allocations: 8 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9646, allocations: 0 / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.9646, allocations: 7.938 kB / 1.112 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.9648, allocations: 4 kB / 1.112 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.9651, allocations: 83.56 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.9654, allocations: 0.6808 MB / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.9655, allocations: 4 kB / 1.113 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.9655, allocations: 8.938 kB / 1.113 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9655, allocations: 0 / 1.113 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.9845, allocations: 0.6644 MB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.9848, allocations: 157.1 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.547, allocations: 0 / 1.113 GB, free: 6.461 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)