Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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.549/2.549, allocations: 287.5 MB / 302.4 MB, free: 8.223 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.001356/0.001356, allocations: 174.7 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.148/2.148, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009126/0.0009122, allocations: 95.78 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007568/0.0007573, allocations: 13.53 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2333, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.002182/0.2355, allocations: 1.362 MB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.2376, allocations: 1.214 MB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.238, allocations: 8 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.2383, allocations: 47.52 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.2387, allocations: 43.66 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.2391, allocations: 99.83 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.2396, allocations: 409.1 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.2399, allocations: 158 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2401, allocations: 111.4 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.2403, allocations: 123.2 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.2403, allocations: 16 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-05/0.2404, allocations: 15.94 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.2404, allocations: 59.69 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.2405, allocations: 77.52 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.2409, allocations: 423.1 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2409, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.241, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.241, allocations: 0 / 0.9825 GB, free: 24.04 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001465/0.2424, allocations: 0.6818 MB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.2425, allocations: 8.031 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.2426, allocations: 70.53 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.2427, allocations: 47.44 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.2433, allocations: 346.8 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.2434, allocations: 32.59 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.2434, allocations: 39.91 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008161/0.2443, allocations: 357.9 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2443, allocations: 3.938 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.2443, allocations: 12 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2444, allocations: 15.94 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.2452, allocations: 262.5 kB / 0.9843 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.2477, allocations: 1.279 MB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/0.2485, allocations: 222.7 kB / 0.9858 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.2489, allocations: 100.8 kB / 0.9859 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.2489, allocations: 8 kB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2489, allocations: 30.56 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.447e-06/0.249, allocations: 0 / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0009798/0.2499, allocations: 283.1 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.25, allocations: 106.8 kB / 0.9863 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.2506, allocations: 409.6 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2506, allocations: 25.7 kB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.2508, allocations: 247.9 kB / 0.9869 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.2508, allocations: 55.2 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.2509, allocations: 4 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.251, allocations: 354.8 kB / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.2513, allocations: 99.95 kB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.2517, allocations: 185.4 kB / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.2521, allocations: 115.9 kB / 0.9877 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2521, allocations: 7.938 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009094/0.2531, allocations: 346.6 kB / 0.9881 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/0.2531, allocations: 122.2 kB / 0.9882 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2532, allocations: 8 kB / 0.9882 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2532, allocations: 4 kB / 0.9882 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.2537, allocations: 67.89 kB / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2537, allocations: 4 kB / 0.9883 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.2541, allocations: 59.53 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2541, allocations: 12.08 kB / 0.9883 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.2541, allocations: 7.938 kB / 0.9883 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004547/0.2546, allocations: 213.5 kB / 0.9885 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2546, allocations: 4 kB / 0.9885 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.2546, allocations: 4 kB / 0.9885 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.255, allocations: 47.92 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.255, allocations: 0 / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.2553, allocations: 43.83 kB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.2553, allocations: 12 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002221/0.2556, allocations: 229.1 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.2557, allocations: 39.48 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.643e-05/0.2557, allocations: 35.23 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2558, allocations: 4 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2558, allocations: 4 kB / 0.9889 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-06/0.2558, allocations: 4 kB / 0.9889 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.2574, allocations: 0.7077 MB / 0.9896 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.2574, allocations: 3.984 kB / 0.9896 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.2577, allocations: 39.97 kB / 0.9897 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2578, allocations: 0 / 0.9897 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2578, allocations: 8 kB / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2578, allocations: 0 / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2578, allocations: 64 / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.2588, allocations: 424.6 kB / 0.9901 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.2589, allocations: 116.7 kB / 0.9902 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.259, allocations: 7.984 kB / 0.9902 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.2593, allocations: 23.98 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.2594, allocations: 11.98 kB / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.2594, allocations: 4 kB / 0.9902 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000406/0.2598, allocations: 291.1 kB / 0.9905 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2598, allocations: 0 / 0.9905 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006084/0.2604, allocations: 119.5 kB / 0.9906 GB, free: 15.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001255/0.2617, allocations: 0.9551 MB / 0.9916 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.2628, allocations: 349.6 kB / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.2628, allocations: 8.125 kB / 0.9919 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.2631, allocations: 79.91 kB / 0.992 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007884/0.2639, allocations: 78.67 kB / 0.9921 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.2685, allocations: 2.079 MB / 0.9941 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2688, allocations: 0.7884 MB / 0.9949 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000253/0.2691, allocations: 38.95 kB / 0.9949 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.2693, allocations: 131.4 kB / 0.995 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of SimCode: time 9.11e-07/0.2693, allocations: 8 kB / 0.995 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.3048, allocations: 6.41 MB / 1.001 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/0.3051, allocations: 226.2 kB / 1.002 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/3.304, allocations: 2.5 kB / 1.002 GB, free: 4.223 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)