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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.111/1.111, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.495/1.495, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.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.001319/0.001319, allocations: 69.83 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.157, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001586/0.1586, allocations: 0.678 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00064/0.1593, allocations: 0.7815 MB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.1593, allocations: 4 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.1593, allocations: 0 / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.1594, allocations: 3.938 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.469e-05/0.1594, allocations: 7.984 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.1595, allocations: 27.81 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.1596, allocations: 11.98 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.1596, allocations: 8 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.1597, allocations: 15.92 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1597, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.1597, allocations: 4 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1597, allocations: 3.984 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.1598, allocations: 7.938 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.302e-05/0.1598, allocations: 19.95 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1598, allocations: 4 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.136e-06/0.1598, allocations: 0 / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1598, allocations: 7.938 kB / 0.785 GB, free: 11.75 MB / 0.6075 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.0003352/0.1602, allocations: 339.7 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.1602, allocations: 8.031 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.373e-05/0.1602, allocations: 30.75 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.772e-05/0.1603, allocations: 8.938 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.644e-05/0.1604, allocations: 160.4 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1604, allocations: 384 / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1604, allocations: 12.31 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1605, allocations: 46.23 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1605, allocations: 7.938 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1606, allocations: 4 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1606, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1607, allocations: 27.95 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.161, allocations: 268.8 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.771e-05/0.1611, allocations: 30.5 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.1612, allocations: 24.89 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.1612, allocations: 4 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1612, allocations: 30.56 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1612, allocations: 0 / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002818/0.1615, allocations: 73.66 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.1616, allocations: 59.33 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.1616, allocations: 101.8 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.1616, allocations: 25.7 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.1617, allocations: 80.14 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.1617, allocations: 7.906 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.1617, allocations: 17.83 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.1618, allocations: 314.8 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.1619, allocations: 11.98 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.162, allocations: 15.98 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1621, allocations: 40.81 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1621, allocations: 4 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001596/0.1623, allocations: 65.55 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1623, allocations: 6.656 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1623, allocations: 0 / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.1623, allocations: 0 / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1625, allocations: 27.95 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1625, allocations: 7.969 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.1625, allocations: 4 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.1625, allocations: 0 / 0.7868 GB, free: 9.688 MB / 0.6075 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 5.046e-05/0.1626, allocations: 117.8 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1626, allocations: 4 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.32e-05/0.1626, allocations: 3.125 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1626, allocations: 0 / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.1626, allocations: 0 / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.1627, allocations: 4 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.1628, allocations: 157.6 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1628, allocations: 0 / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.1629, allocations: 27.95 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1629, allocations: 0 / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.1629, allocations: 0 / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1629, allocations: 0 / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1629, allocations: 4 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1631, allocations: 163.4 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.1632, allocations: 81.11 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1632, allocations: 4 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.1633, allocations: 7.984 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1633, allocations: 0 / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.1633, allocations: 0 / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.1633, allocations: 83.31 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1633, allocations: 0 / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001936/0.1635, allocations: 7.906 kB / 0.7875 GB, free: 8.938 MB / 0.6075 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.0003859/0.1639, allocations: 0.6929 MB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1641, allocations: 39.89 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1641, allocations: 0 / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.1642, allocations: 11.98 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1644, allocations: 4 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.1647, allocations: 127.3 kB / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.1649, allocations: 0.6768 MB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.71e-05/0.1649, allocations: 0 / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.165, allocations: 15.38 kB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of SimCode: time 1.272e-06/0.165, allocations: 0 / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/0.3111, allocations: 1.242 MB / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.848, allocations: 8.344 kB / 0.7902 GB, free: 6.152 MB / 0.6075 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/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)