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.83/2.83, allocations: 287.5 MB / 302.4 MB, free: 8.152 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.001294/0.001294, allocations: 176.4 kB / 371 MB, free: 10.85 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.182/2.182, allocations: 205.4 MB / 0.6297 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.0009333/0.0009332, allocations: 96.41 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007063/0.0007066, allocations: 20.41 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2404, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005482/0.246, allocations: 3.68 MB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004444/0.2505, allocations: 1.544 MB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.2516, allocations: 31.81 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.2521, allocations: 118.8 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.2532, allocations: 178.7 kB / 0.9839 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.2562, allocations: 0.5162 MB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.2584, allocations: 1.05 MB / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007917/0.2593, allocations: 351.4 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007492/0.26, allocations: 334 kB / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.2606, allocations: 337.8 kB / 0.9864 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.2607, allocations: 24 kB / 0.9864 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.2608, allocations: 32 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.261, allocations: 135.2 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.2612, allocations: 173.1 kB / 0.9867 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.2621, allocations: 0.8107 MB / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2621, allocations: 3.984 kB / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2621, allocations: 0 / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.2622, allocations: 0 / 0.9875 GB, free: 18.96 MB / 0.6198 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.003222/0.2654, allocations: 1.247 MB / 0.9887 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.2655, allocations: 12.02 kB / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002307/0.2657, allocations: 122.5 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.266, allocations: 130.5 kB / 0.989 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.2677, allocations: 0.6996 MB / 0.9897 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.2679, allocations: 83.69 kB / 0.9897 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.268, allocations: 68 kB / 0.9898 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.2699, allocations: 0.7328 MB / 0.9905 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.27, allocations: 3.938 kB / 0.9905 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.2701, allocations: 32 kB / 0.9906 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.2701, allocations: 16 kB / 0.9906 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.272, allocations: 0.5243 MB / 0.9911 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005344/0.2773, allocations: 2.294 MB / 0.9933 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.2797, allocations: 0.6325 MB / 0.9939 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.2807, allocations: 278.4 kB / 0.9942 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.789e-05/0.2808, allocations: 12.55 kB / 0.9942 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.2818, allocations: 338.9 kB / 0.9945 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 3.327e-06/0.2818, allocations: 0 / 0.9945 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.002663/0.2845, allocations: 0.756 MB / 0.9953 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.2846, allocations: 89.84 kB / 0.9954 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.2859, allocations: 0.7558 MB / 0.9961 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.2861, allocations: 37.7 kB / 0.9961 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.2865, allocations: 444.5 kB / 0.9966 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.2868, allocations: 205 kB / 0.9968 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.2869, allocations: 12 kB / 0.9968 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.287, allocations: 333.9 kB / 0.9971 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007853/0.2878, allocations: 201.2 kB / 0.9973 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.2886, allocations: 312.4 kB / 0.9976 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008081/0.2894, allocations: 234.2 kB / 0.9978 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2895, allocations: 0 / 0.9978 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002109/0.2916, allocations: 0.6656 MB / 0.9984 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.72e-05/0.2917, allocations: 163.2 kB / 0.9986 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2917, allocations: 0 / 0.9986 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.2918, allocations: 11.95 kB / 0.9986 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.293, allocations: 147.8 kB / 0.9988 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.2931, allocations: 4 kB / 0.9988 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/0.2939, allocations: 79.34 kB / 0.9988 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.294, allocations: 23.94 kB / 0.9989 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.294, allocations: 4 kB / 0.9989 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001783/0.2958, allocations: 0.5246 MB / 0.9994 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.2958, allocations: 0 / 0.9994 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2958, allocations: 8 kB / 0.9994 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.297, allocations: 143.8 kB / 0.9995 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.297, allocations: 4 kB / 0.9995 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.2978, allocations: 67.59 kB / 0.9996 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.2979, allocations: 23.94 kB / 0.9996 GB, free: 6.172 MB / 0.6198 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,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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.0004939/0.2984, allocations: 300.9 kB / 0.9999 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.2985, allocations: 90.88 kB / 1 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.2988, allocations: 105.3 kB / 1 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.2988, allocations: 8 kB / 1 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2988, allocations: 0 / 1 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.2988, allocations: 3.984 kB / 1 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.3019, allocations: 1.458 MB / 1.002 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.302, allocations: 0 / 1.002 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.303, allocations: 111.8 kB / 1.002 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.3031, allocations: 0 / 1.002 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/0.3031, allocations: 16 kB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.3031, allocations: 7.984 kB / 1.002 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3031, allocations: 4 kB / 1.002 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.3059, allocations: 0.9669 MB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.3063, allocations: 227.7 kB / 1.003 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.3065, allocations: 12 kB / 1.003 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007789/0.3073, allocations: 47.95 kB / 1.003 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.3074, allocations: 36.45 kB / 1.003 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.3075, allocations: 19.98 kB / 1.003 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008565/0.3083, allocations: 0.5148 MB / 1.003 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.71e-07/0.3083, allocations: 0 / 1.003 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001019/0.3094, allocations: 275 kB / 1.004 GB, free: 1.879 MB / 0.6198 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 (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.0029/0.3123, allocations: 1.543 MB / 1.005 GB, free: 312 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002799/0.3151, allocations: 0.8038 MB / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3152, allocations: 0 / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009763/0.3162, allocations: 275.5 kB / 1.006 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.3183, allocations: 239.1 kB / 1.006 GB, free: 15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.3329, allocations: 5.132 MB / 1.011 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/0.3337, allocations: 0.994 MB / 1.012 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009535/0.3347, allocations: 118.7 kB / 1.013 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007775/0.3355, allocations: 351.3 kB / 1.013 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of SimCode: time 1.814e-06/0.3355, allocations: 0 / 1.013 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07225/0.4078, allocations: 16.58 MB / 1.029 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003695/0.4082, allocations: 186.1 kB / 1.029 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.343/3.751, allocations: 0 / 1.029 GB, free: 7.582 MB / 0.6511 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)