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.489/1.489, allocations: 252 MB / 267 MB, free: 10.97 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.001003/0.001003, allocations: 175.5 kB / 326.6 MB, free: 2.227 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.92/1.92, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.0007932/0.0007931, allocations: 84.2 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 11.75 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2167, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001323/0.218, allocations: 1.098 MB / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.2183, allocations: 92.67 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.2183, allocations: 0 / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.2184, allocations: 0 / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.2184, allocations: 3.938 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.672e-05/0.2185, allocations: 7.984 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.2186, allocations: 19.92 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.2186, allocations: 8 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.2187, allocations: 0 / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.2187, allocations: 19.92 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.2188, allocations: 3.984 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-06/0.2188, allocations: 4 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.2188, allocations: 0 / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.2188, allocations: 25.7 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.328e-05/0.2189, allocations: 11.97 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2189, allocations: 0 / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2189, allocations: 0 / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2189, allocations: 0 / 0.9016 GB, free: 62.46 MB / 0.6042 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.0003509/0.2193, allocations: 339.4 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2193, allocations: 12.03 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.2193, allocations: 34.55 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.2194, allocations: 4 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.2194, allocations: 171.2 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2195, allocations: 7.938 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.2195, allocations: 4 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.2197, allocations: 57.66 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2197, allocations: 0 / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.2197, allocations: 4 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.2197, allocations: 0 / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.2199, allocations: 35.97 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.2202, allocations: 280.8 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.2203, allocations: 38.56 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.2204, allocations: 24.91 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2204, allocations: 0 / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.2205, allocations: 34.55 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2205, allocations: 0 / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003191/0.2208, allocations: 93.59 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.2208, allocations: 55.41 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.2209, allocations: 105.8 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.2209, allocations: 33.77 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.2209, allocations: 80.14 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.2209, allocations: 7.906 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.2209, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.221, allocations: 314.8 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.2211, allocations: 19.97 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.2212, allocations: 23.98 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.753e-05/0.2212, allocations: 19.98 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2212, allocations: 0 / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002009/0.2215, allocations: 77.66 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2215, allocations: 8 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2215, allocations: 0 / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2215, allocations: 0 / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.2217, allocations: 36 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2217, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.2218, allocations: 15.94 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.2218, allocations: 0 / 0.9034 GB, free: 60.34 MB / 0.6042 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 4.685e-05/0.2218, allocations: 105.8 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.2218, allocations: 0 / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.2219, allocations: 7.125 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2219, allocations: 7.938 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2219, allocations: 0 / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2219, allocations: 0 / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.222, allocations: 161.6 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.222, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2222, allocations: 35.97 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2222, allocations: 0 / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2222, allocations: 4 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.2222, allocations: 0 / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2222, allocations: 4 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.2224, allocations: 171.4 kB / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.2224, allocations: 81.02 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.2224, allocations: 7.984 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.2225, allocations: 8 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.2226, allocations: 0 / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.2226, allocations: 0 / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.484e-05/0.2226, allocations: 91.44 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2226, allocations: 4.031 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000183/0.2228, allocations: 4 kB / 0.9041 GB, free: 59.57 MB / 0.6042 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.0003777/0.2232, allocations: 0.7007 MB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.2234, allocations: 43.84 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2234, allocations: 8.094 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.2235, allocations: 15.98 kB / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.2237, allocations: 11.98 kB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.2241, allocations: 126.4 kB / 0.905 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.863e-05/0.2242, allocations: 0.681 MB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.193e-05/0.2242, allocations: 0 / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.2242, allocations: 11.44 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2242, allocations: 4 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009725/0.234, allocations: 0.988 MB / 0.9066 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.2342, allocations: 203.6 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.892, allocations: 0 / 0.9068 GB, free: 56.82 MB / 0.6042 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)