Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",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.0008363/0.0008363, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004688/0.004689, allocations: 172.7 kB / 16.27 MB, free: 6.648 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.138/1.138, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.529/1.529, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004771/0.0004771, allocations: 14.06 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1819, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004174/0.1861, allocations: 3.918 MB / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.189, allocations: 1.563 MB / 0.7933 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007118/0.1898, allocations: 35.81 kB / 0.7934 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.1902, allocations: 118.8 kB / 0.7935 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008079/0.191, allocations: 178.8 kB / 0.7937 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.1922, allocations: 0.6192 MB / 0.7943 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1933, allocations: 1.136 MB / 0.7954 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006113/0.1939, allocations: 488.4 kB / 0.7958 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.1943, allocations: 353.7 kB / 0.7962 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.1946, allocations: 361.5 kB / 0.7965 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.1947, allocations: 24 kB / 0.7965 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.1948, allocations: 28 kB / 0.7966 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1949, allocations: 139.1 kB / 0.7967 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.1952, allocations: 418.7 kB / 0.7971 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.1959, allocations: 1.011 MB / 0.7981 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1959, allocations: 4 kB / 0.7981 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1959, allocations: 0 / 0.7981 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.1959, allocations: 3.938 kB / 0.7981 GB, free: 1.043 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001908/0.1978, allocations: 1.239 MB / 0.7993 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1979, allocations: 16.03 kB / 0.7993 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.198, allocations: 110.7 kB / 0.7994 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.1982, allocations: 123.4 kB / 0.7995 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.1992, allocations: 0.7352 MB / 0.8003 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/0.1993, allocations: 80.27 kB / 0.8003 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.1994, allocations: 72.38 kB / 0.8004 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.2005, allocations: 0.7484 MB / 0.8011 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2005, allocations: 0 / 0.8011 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.2006, allocations: 31.98 kB / 0.8012 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.2006, allocations: 16 kB / 0.8012 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.2017, allocations: 0.5321 MB / 0.8017 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.2046, allocations: 2.294 MB / 0.8039 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.206, allocations: 0.6425 MB / 0.8046 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.2065, allocations: 281.2 kB / 0.8048 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.2065, allocations: 12.55 kB / 0.8049 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/0.2071, allocations: 327.1 kB / 0.8052 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 3.547e-06/0.2072, allocations: 0 / 0.8052 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001475/0.2086, allocations: 0.7712 MB / 0.8059 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.2087, allocations: 93.61 kB / 0.806 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.2095, allocations: 0.7597 MB / 0.8068 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.2095, allocations: 37.7 kB / 0.8068 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.2098, allocations: 440.5 kB / 0.8072 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.21, allocations: 201 kB / 0.8074 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.2101, allocations: 65.67 kB / 0.8075 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.2102, allocations: 326 kB / 0.8078 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.2106, allocations: 213.2 kB / 0.808 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.2111, allocations: 312.4 kB / 0.8083 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.212, allocations: 0.5192 MB / 0.8088 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.212, allocations: 0 / 0.8088 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001125/0.2132, allocations: 0.6578 MB / 0.8094 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.2133, allocations: 167.2 kB / 0.8096 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2133, allocations: 4 kB / 0.8096 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2133, allocations: 4 kB / 0.8096 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.2139, allocations: 147.7 kB / 0.8097 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.2139, allocations: 8 kB / 0.8097 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.2143, allocations: 79.34 kB / 0.8098 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.2143, allocations: 19.98 kB / 0.8098 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-06/0.2143, allocations: 7.938 kB / 0.8098 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009426/0.2153, allocations: 0.5325 MB / 0.8104 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2153, allocations: 3.938 kB / 0.8104 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.2153, allocations: 4 kB / 0.8104 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.2159, allocations: 143.8 kB / 0.8105 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.2159, allocations: 8 kB / 0.8105 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.2162, allocations: 75.47 kB / 0.8106 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.2163, allocations: 20 kB / 0.8106 GB, free: 3.805 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0002873/0.2166, allocations: 296.9 kB / 0.8109 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2167, allocations: 94.88 kB / 0.811 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.2169, allocations: 101.3 kB / 0.8111 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2169, allocations: 7.984 kB / 0.8111 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2169, allocations: 0 / 0.8111 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2169, allocations: 7.938 kB / 0.8111 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.2188, allocations: 1.462 MB / 0.8125 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2189, allocations: 0 / 0.8125 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/0.2194, allocations: 103.9 kB / 0.8126 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2194, allocations: 7.938 kB / 0.8126 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.2194, allocations: 12 kB / 0.8126 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2194, allocations: 0 / 0.8126 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2195, allocations: 4 kB / 0.8126 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.221, allocations: 0.9782 MB / 0.8136 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.2212, allocations: 227.6 kB / 0.8138 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.2213, allocations: 12 kB / 0.8138 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.2217, allocations: 43.95 kB / 0.8139 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.2218, allocations: 36.52 kB / 0.8139 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.2219, allocations: 23.98 kB / 0.8139 GB, free: 316 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005754/0.2225, allocations: 0.5148 MB / 0.8144 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2225, allocations: 0 / 0.8144 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006525/0.2231, allocations: 271.1 kB / 0.8147 GB, free: 15.52 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001794/0.2249, allocations: 1.55 MB / 0.8162 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.2264, allocations: 0.8077 MB / 0.817 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2264, allocations: 0 / 0.817 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.2269, allocations: 275.5 kB / 0.8173 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.228, allocations: 247.7 kB / 0.8175 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009228/0.2373, allocations: 7.36 MB / 0.8247 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.2377, allocations: 0.9979 MB / 0.8256 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004663/0.2382, allocations: 110.7 kB / 0.8258 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.2386, allocations: 355.3 kB / 0.8261 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.2386, allocations: 7.938 kB / 0.8261 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.267, allocations: 16.45 MB / 0.8422 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.2672, allocations: 197 kB / 0.8424 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.068, allocations: 0 / 0.8424 GB, free: 3.012 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)