Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001139/0.001139, allocations: 178 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008928/0.0008927, allocations: 102.8 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004126, allocations: 17.7 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2244, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002984/0.2274, allocations: 2.635 MB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.2303, allocations: 1.646 MB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008825/0.2312, allocations: 23.88 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.2316, allocations: 67.17 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009099/0.2325, allocations: 156.8 kB / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.2331, allocations: 235.8 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00073/0.2338, allocations: 0.6088 MB / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005336/0.2344, allocations: 443.6 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.2346, allocations: 242.6 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.2349, allocations: 298 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.2349, allocations: 28 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.235, allocations: 28 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.2351, allocations: 131.4 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.2352, allocations: 161.1 kB / 0.986 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005872/0.2358, allocations: 0.9742 MB / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2358, allocations: 3.938 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2358, allocations: 0 / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.2358, allocations: 0 / 0.9869 GB, free: 19.92 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00172/0.2375, allocations: 1.2 MB / 0.9881 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2376, allocations: 12.02 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.2377, allocations: 135.4 kB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.2379, allocations: 118.6 kB / 0.9884 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.2385, allocations: 0.5667 MB / 0.9889 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.2386, allocations: 66 kB / 0.989 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.2387, allocations: 95.84 kB / 0.9891 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2399, allocations: 0.851 MB / 0.9899 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.24, allocations: 0 / 0.9899 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.24, allocations: 36 kB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.24, allocations: 24 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.2411, allocations: 0.6168 MB / 0.9906 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/0.2442, allocations: 2.728 MB / 0.9932 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.2454, allocations: 1.331 MB / 0.9945 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.2455, allocations: 12.52 kB / 0.9945 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006201/0.2461, allocations: 343.1 kB / 0.9949 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 2.585e-06/0.2461, allocations: 8 kB / 0.9949 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.001342/0.2475, allocations: 0.8066 MB / 0.9957 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.2476, allocations: 162.8 kB / 0.9958 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.2481, allocations: 0.59 MB / 0.9964 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.2482, allocations: 41.7 kB / 0.9964 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.2484, allocations: 420 kB / 0.9968 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.2485, allocations: 232.6 kB / 0.9971 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.2485, allocations: 16 kB / 0.9971 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2487, allocations: 382.8 kB / 0.9974 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.2491, allocations: 229.2 kB / 0.9977 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.2496, allocations: 345.3 kB / 0.998 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.2501, allocations: 267.1 kB / 0.9982 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2501, allocations: 0 / 0.9982 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00104/0.2511, allocations: 0.6838 MB / 0.9989 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.52e-05/0.2512, allocations: 354.7 kB / 0.9993 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2513, allocations: 4 kB / 0.9993 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2513, allocations: 4 kB / 0.9993 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.2518, allocations: 159.8 kB / 0.9994 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2518, allocations: 7.938 kB / 0.9994 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.2522, allocations: 103.4 kB / 0.9995 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.2522, allocations: 24 kB / 0.9995 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-06/0.2522, allocations: 4 kB / 0.9995 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005758/0.2528, allocations: 467.6 kB / 1 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2528, allocations: 8 kB / 1 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-06/0.2528, allocations: 4 kB / 1 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.2532, allocations: 119.8 kB / 1 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2532, allocations: 8.078 kB / 1 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.2535, allocations: 83.36 kB / 1 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.2535, allocations: 20 kB / 1 GB, free: 5.805 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002849/0.2538, allocations: 298 kB / 1.001 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.2539, allocations: 79 kB / 1.001 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.2541, allocations: 86.94 kB / 1.001 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.2541, allocations: 8 kB / 1.001 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.2541, allocations: 0 / 1.001 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2541, allocations: 7.922 kB / 1.001 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.256, allocations: 1.582 MB / 1.002 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.256, allocations: 4 kB / 1.002 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.2566, allocations: 135.8 kB / 1.002 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.2566, allocations: 4 kB / 1.002 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.2566, allocations: 12 kB / 1.002 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2566, allocations: 0 / 1.002 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2566, allocations: 3.953 kB / 1.002 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.2582, allocations: 1.018 MB / 1.003 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.2584, allocations: 156 kB / 1.004 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.2585, allocations: 16 kB / 1.004 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.259, allocations: 51.95 kB / 1.004 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.2591, allocations: 40.52 kB / 1.004 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.2591, allocations: 23.94 kB / 1.004 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006068/0.2598, allocations: 419.2 kB / 1.004 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3e-07/0.2598, allocations: 3.938 kB / 1.004 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001006/0.2608, allocations: 306.6 kB / 1.004 GB, free: 1.473 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 (68): * Single equations (assignments): 68 * 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.00239/0.2632, allocations: 1.582 MB / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.2654, allocations: 0.8281 MB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.2655, allocations: 4 kB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.2663, allocations: 299.2 kB / 1.007 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009462/0.2672, allocations: 130 kB / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009972/0.2772, allocations: 4.978 MB / 1.012 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009013/0.2782, allocations: 1.005 MB / 1.013 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005817/0.2788, allocations: 81.2 kB / 1.013 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006702/0.2795, allocations: 347.3 kB / 1.013 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of SimCode: time 1.262e-06/0.2795, allocations: 0 / 1.013 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.3182, allocations: 13.36 MB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/0.3185, allocations: 207.8 kB / 1.027 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/2.978, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)