Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.808/2.808, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001549/0.001549, allocations: 183.7 kB / 370.8 MB, free: 10.84 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.121/2.121, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001173/0.001173, allocations: 82.09 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006493, allocations: 12.14 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2184, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.00507/0.2235, allocations: 3.673 MB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.2265, allocations: 1.042 MB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007098/0.2272, allocations: 19.94 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.2274, allocations: 83.02 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000809/0.2283, allocations: 171.3 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007314/0.229, allocations: 267.7 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.2302, allocations: 0.6754 MB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007852/0.231, allocations: 481 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.2313, allocations: 250.5 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.2317, allocations: 313.9 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.507e-05/0.2318, allocations: 28 kB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.2319, allocations: 28 kB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.232, allocations: 139.2 kB / 0.9853 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2322, allocations: 177.1 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.2333, allocations: 1.099 MB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2333, allocations: 4 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2333, allocations: 4 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.2334, allocations: 0 / 0.9865 GB, free: 19.79 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003086/0.2365, allocations: 1.243 MB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.2365, allocations: 8.031 kB / 0.9877 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/0.2368, allocations: 147.9 kB / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.237, allocations: 130.5 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.2382, allocations: 0.5937 MB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.2383, allocations: 74 kB / 0.9887 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.2384, allocations: 96 kB / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.2406, allocations: 0.9056 MB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.2406, allocations: 4 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.2408, allocations: 40 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.2408, allocations: 24 kB / 0.9897 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.2428, allocations: 0.6715 MB / 0.9904 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005855/0.2487, allocations: 2.896 MB / 0.9932 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.2506, allocations: 0.7261 MB / 0.9939 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/0.2507, allocations: 8.656 kB / 0.9939 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.2518, allocations: 372.3 kB / 0.9943 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 3.938e-06/0.2518, allocations: 0 / 0.9943 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.002648/0.2545, allocations: 0.8873 MB / 0.9951 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.2546, allocations: 162.9 kB / 0.9953 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000944/0.2555, allocations: 0.6254 MB / 0.9959 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.489e-05/0.2556, allocations: 45.69 kB / 0.9959 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.256, allocations: 452.2 kB / 0.9964 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.2562, allocations: 256.3 kB / 0.9966 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.2562, allocations: 16 kB / 0.9966 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.2563, allocations: 338 kB / 0.997 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/0.2572, allocations: 249.9 kB / 0.9972 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009195/0.2581, allocations: 386 kB / 0.9976 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/0.259, allocations: 290.9 kB / 0.9978 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.259, allocations: 4 kB / 0.9978 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002046/0.261, allocations: 0.7582 MB / 0.9986 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.2612, allocations: 453 kB / 0.999 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2612, allocations: 3.938 kB / 0.999 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.2612, allocations: 8 kB / 0.999 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.2624, allocations: 171.8 kB / 0.9992 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.2624, allocations: 7.984 kB / 0.9992 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/0.2632, allocations: 119.2 kB / 0.9993 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.2633, allocations: 20 kB / 0.9993 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2633, allocations: 6.031 kB / 0.9993 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001227/0.2645, allocations: 0.5427 MB / 0.9999 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2645, allocations: 3.938 kB / 0.9999 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2646, allocations: 4 kB / 0.9999 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/0.2655, allocations: 147.9 kB / 1 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.2655, allocations: 4 kB / 1 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.2662, allocations: 83.34 kB / 1 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.2662, allocations: 28 kB / 1 GB, free: 5.492 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.000554/0.2668, allocations: 297 kB / 1 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.267, allocations: 86.92 kB / 1 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.2672, allocations: 96.25 kB / 1.001 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.2672, allocations: 8 kB / 1.001 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.2672, allocations: 0 / 1.001 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.2672, allocations: 3.984 kB / 1.001 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.2705, allocations: 1.659 MB / 1.002 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2706, allocations: 0 / 1.002 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.2717, allocations: 139.8 kB / 1.002 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.2718, allocations: 4 kB / 1.002 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/0.2718, allocations: 16 kB / 1.002 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.2719, allocations: 8 kB / 1.002 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2719, allocations: 0 / 1.002 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.2746, allocations: 1.1 MB / 1.003 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.2749, allocations: 164 kB / 1.004 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.275, allocations: 12 kB / 1.004 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006/0.2756, allocations: 59.95 kB / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/0.2757, allocations: 40.59 kB / 1.004 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/0.2758, allocations: 20 kB / 1.004 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000674/0.2765, allocations: 439 kB / 1.004 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2765, allocations: 4 kB / 1.004 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001007/0.2775, allocations: 330.2 kB / 1.004 GB, free: 0.9375 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.003254/0.2808, allocations: 1.665 MB / 1.006 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002873/0.2837, allocations: 0.9351 MB / 1.007 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.2837, allocations: 4.312 kB / 1.007 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009953/0.2847, allocations: 327.6 kB / 1.007 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.2859, allocations: 149.1 kB / 1.007 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.2988, allocations: 5.488 MB / 1.013 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/0.2996, allocations: 1.025 MB / 1.014 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006847/0.3003, allocations: 97.89 kB / 1.014 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007634/0.3011, allocations: 379.3 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of SimCode: time 9.71e-07/0.3011, allocations: 0 / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0566/0.3578, allocations: 14.53 MB / 1.028 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003565/0.3582, allocations: 206.6 kB / 1.029 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/3.549, allocations: 2.953 kB / 1.029 GB, free: 8.176 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)