Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.71/2.71, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001503/0.001503, allocations: 186.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 102.6 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004854, allocations: 15.78 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9375/1.142, allocations: 146.4 MB / 1.121 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.143, allocations: 80.98 kB / 1.121 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08096/1.224, allocations: 19.9 MB / 1.141 GB, free: 26.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.525e-06/1.224, allocations: 0 / 1.141 GB, free: 26.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001248/1.224, allocations: 27.09 kB / 1.141 GB, free: 26.08 MB / 0.698 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.003902/1.228, allocations: 1.247 MB / 1.142 GB, free: 25.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.228, allocations: 15.52 kB / 1.142 GB, free: 25.18 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004016/1.228, allocations: 110.3 kB / 1.142 GB, free: 25.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/1.229, allocations: 123.9 kB / 1.142 GB, free: 25.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/1.231, allocations: 0.7335 MB / 1.143 GB, free: 24.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/1.231, allocations: 83.33 kB / 1.143 GB, free: 24.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/1.232, allocations: 79.92 kB / 1.143 GB, free: 24.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/1.234, allocations: 0.7742 MB / 1.144 GB, free: 24.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/1.234, allocations: 3.812 kB / 1.144 GB, free: 24.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.234, allocations: 33.77 kB / 1.144 GB, free: 24.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/1.234, allocations: 15.44 kB / 1.144 GB, free: 24.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/1.236, allocations: 0.563 MB / 1.144 GB, free: 24.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005276/1.241, allocations: 2.358 MB / 1.147 GB, free: 22.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/1.244, allocations: 0.7128 MB / 1.147 GB, free: 22.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.692e-05/1.244, allocations: 4.578 kB / 1.147 GB, free: 22.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/1.245, allocations: 358.8 kB / 1.148 GB, free: 22.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.617e-06/1.245, allocations: 3.938 kB / 1.148 GB, free: 22.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002899/1.248, allocations: 0.8222 MB / 1.149 GB, free: 22.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/1.248, allocations: 144.8 kB / 1.149 GB, free: 22.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/1.25, allocations: 0.6544 MB / 1.149 GB, free: 22.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/1.25, allocations: 44.28 kB / 1.149 GB, free: 22.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/1.25, allocations: 433.8 kB / 1.15 GB, free: 21.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/1.25, allocations: 207.1 kB / 1.15 GB, free: 21.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/1.251, allocations: 11.16 kB / 1.15 GB, free: 21.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.251, allocations: 328.4 kB / 1.15 GB, free: 21.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008554/1.252, allocations: 224.1 kB / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000918/1.253, allocations: 342.5 kB / 1.151 GB, free: 21.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008963/1.253, allocations: 253.9 kB / 1.151 GB, free: 21.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.253, allocations: 0 / 1.151 GB, free: 21.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002266/1.256, allocations: 0.6947 MB / 1.152 GB, free: 21.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004063/1.256, allocations: 0.8842 MB / 1.153 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.256, allocations: 7.969 kB / 1.153 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/1.256, allocations: 3.875 kB / 1.153 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.258, allocations: 170 kB / 1.153 GB, free: 20.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/1.258, allocations: 7.703 kB / 1.153 GB, free: 20.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.259, allocations: 84.72 kB / 1.153 GB, free: 20 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/1.259, allocations: 21.81 kB / 1.153 GB, free: 20 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.259, allocations: 7.859 kB / 1.153 GB, free: 20 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/1.261, allocations: 0.5514 MB / 1.153 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.261, allocations: 7.812 kB / 1.154 GB, free: 19.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/1.261, allocations: 3.969 kB / 1.154 GB, free: 19.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.263, allocations: 155.8 kB / 1.154 GB, free: 19.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.263, allocations: 3.875 kB / 1.154 GB, free: 19.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.264, allocations: 76.81 kB / 1.154 GB, free: 19.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/1.264, allocations: 19.12 kB / 1.154 GB, free: 19.85 MB / 0.698 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,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007274/1.264, allocations: 303.4 kB / 1.154 GB, free: 19.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/1.265, allocations: 97.14 kB / 1.154 GB, free: 19.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/1.265, allocations: 98.95 kB / 1.154 GB, free: 19.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.265, allocations: 7.875 kB / 1.154 GB, free: 19.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.265, allocations: 0 / 1.154 GB, free: 19.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.265, allocations: 7.922 kB / 1.154 GB, free: 19.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/1.269, allocations: 1.532 MB / 1.156 GB, free: 18.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/1.269, allocations: 3.906 kB / 1.156 GB, free: 18.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.27, allocations: 108 kB / 1.156 GB, free: 18.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.27, allocations: 0 / 1.156 GB, free: 18.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/1.27, allocations: 10.69 kB / 1.156 GB, free: 18.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/1.27, allocations: 11.78 kB / 1.156 GB, free: 18.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.27, allocations: 0 / 1.156 GB, free: 18.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/1.273, allocations: 1.044 MB / 1.157 GB, free: 18.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005667/1.274, allocations: 235.8 kB / 1.157 GB, free: 18.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/1.274, allocations: 12.59 kB / 1.157 GB, free: 18.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009898/1.275, allocations: 54.95 kB / 1.157 GB, free: 18.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/1.275, allocations: 39.5 kB / 1.157 GB, free: 18.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/1.275, allocations: 14.69 kB / 1.157 GB, free: 18.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009756/1.276, allocations: 0.5218 MB / 1.158 GB, free: 17.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.276, allocations: 0 / 1.158 GB, free: 17.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001226/1.277, allocations: 281.6 kB / 1.158 GB, free: 17.73 MB / 0.698 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 (limPIDInp.trigger,$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 (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.003456/1.281, allocations: 1.604 MB / 1.16 GB, free: 16.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002858/1.284, allocations: 0.8655 MB / 1.16 GB, free: 15.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.284, allocations: 0.625 kB / 1.16 GB, free: 15.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009594/1.285, allocations: 295.5 kB / 1.161 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/1.287, allocations: 228.4 kB / 1.161 GB, free: 15.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/1.293, allocations: 3.649 MB / 1.164 GB, free: 11.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/1.294, allocations: 1.017 MB / 1.165 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001036/1.295, allocations: 118.4 kB / 1.166 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/1.295, allocations: 356.9 kB / 1.166 GB, free: 10.59 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/1.295, allocations: 0 / 1.166 GB, free: 10.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/1.356, allocations: 16.73 MB / 1.182 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003655/1.356, allocations: 177.4 kB / 1.182 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.65/5.007, allocations: 4 kB / 1.182 GB, free: 9.887 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)