Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 195.3 kB / 16.64 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.69 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2235, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003478/0.227, allocations: 1.847 MB / 0.7855 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.229, allocations: 1.242 MB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2292, allocations: 8 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.2295, allocations: 67.2 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.2298, allocations: 71.39 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.23, allocations: 155.8 kB / 0.787 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005646/0.2306, allocations: 488.9 kB / 0.7874 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.231, allocations: 263.1 kB / 0.7877 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.2312, allocations: 179.2 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.2314, allocations: 195 kB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.202e-05/0.2315, allocations: 52 kB / 0.7881 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.278e-05/0.2315, allocations: 52 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.2316, allocations: 111.5 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.2318, allocations: 214.8 kB / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.2323, allocations: 0.5879 MB / 0.789 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2323, allocations: 4 kB / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2323, allocations: 0 / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.2323, allocations: 0 / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001198/0.2335, allocations: 0.7561 MB / 0.7898 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2335, allocations: 12.03 kB / 0.7898 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.2337, allocations: 70.72 kB / 0.7898 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.855e-05/0.2338, allocations: 56.36 kB / 0.7899 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.2344, allocations: 364.2 kB / 0.7902 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.2344, allocations: 29.38 kB / 0.7903 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.2345, allocations: 40.38 kB / 0.7903 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.2352, allocations: 391.5 kB / 0.7907 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2352, allocations: 7.938 kB / 0.7907 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.2353, allocations: 15.94 kB / 0.7907 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2353, allocations: 15.94 kB / 0.7907 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.2358, allocations: 275.8 kB / 0.791 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.2378, allocations: 1.319 MB / 0.7923 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.2384, allocations: 223.8 kB / 0.7925 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.2386, allocations: 100.8 kB / 0.7926 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.2386, allocations: 15.95 kB / 0.7926 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2387, allocations: 34.56 kB / 0.7926 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.654e-06/0.2387, allocations: 4 kB / 0.7926 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006874/0.2394, allocations: 271.6 kB / 0.7929 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.2395, allocations: 110.8 kB / 0.793 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.24, allocations: 421.6 kB / 0.7934 GB, free: 3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.24, allocations: 25.7 kB / 0.7934 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.2402, allocations: 255.6 kB / 0.7937 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.2403, allocations: 71.09 kB / 0.7937 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.2404, allocations: 61.61 kB / 0.7938 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2406, allocations: 350.8 kB / 0.7941 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2408, allocations: 100.8 kB / 0.7942 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.2411, allocations: 199.5 kB / 0.7944 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.2415, allocations: 251.5 kB / 0.7946 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2416, allocations: 0 / 0.7946 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005737/0.2421, allocations: 355.7 kB / 0.795 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2422, allocations: 4 kB / 0.795 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2422, allocations: 4 kB / 0.795 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.2422, allocations: 7.938 kB / 0.795 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.2425, allocations: 68.11 kB / 0.7951 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.2425, allocations: 15.94 kB / 0.7951 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.2427, allocations: 51.59 kB / 0.7951 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.2428, allocations: 12 kB / 0.7951 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002264/0.243, allocations: 192.8 kB / 0.7953 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001908/0.2432, allocations: 164.9 kB / 0.7955 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002482/0.2434, allocations: 219.5 kB / 0.7957 GB, free: 484 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.2435, allocations: 3.984 kB / 0.7957 GB, free: 480 kB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004909/0.2439, allocations: 295.7 kB / 0.796 GB, free: 180 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.244, allocations: 8 kB / 0.796 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.244, allocations: 0 / 0.796 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/0.244, allocations: 8.219 kB / 0.796 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.2442, allocations: 59.91 kB / 0.796 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2442, allocations: 11.88 kB / 0.7961 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2444, allocations: 39.67 kB / 0.7961 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.2444, allocations: 12 kB / 0.7961 GB, free: 40 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.2446, allocations: 196.2 kB / 0.7963 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.2446, allocations: 35.53 kB / 0.7963 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.2447, allocations: 35.59 kB / 0.7964 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2447, allocations: 11.94 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2447, allocations: 0 / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.2448, allocations: 0 / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.246, allocations: 0.698 MB / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.246, allocations: 64 / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2462, allocations: 47.91 kB / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2462, allocations: 0 / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.2462, allocations: 4 kB / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2462, allocations: 3.938 kB / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2462, allocations: 4 kB / 0.7971 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.247, allocations: 412.6 kB / 0.7975 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.2471, allocations: 116.7 kB / 0.7976 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.2471, allocations: 4 kB / 0.7976 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2473, allocations: 19.97 kB / 0.7976 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.2473, allocations: 15.92 kB / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2474, allocations: 12 kB / 0.7977 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002934/0.2477, allocations: 291.2 kB / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2477, allocations: 0 / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004533/0.2481, allocations: 127.4 kB / 0.7981 GB, free: 13.93 MB / 0.6231 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,limPI.I.y) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.2492, allocations: 0.9595 MB / 0.799 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006712/0.2499, allocations: 354.5 kB / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2499, allocations: 0 / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.2501, allocations: 83.89 kB / 0.7994 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.2506, allocations: 73.52 kB / 0.7995 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.2554, allocations: 3.373 MB / 0.8028 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.2559, allocations: 0.8035 MB / 0.8036 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.2561, allocations: 43.53 kB / 0.8036 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.2563, allocations: 139.4 kB / 0.8037 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of SimCode: time 8.01e-07/0.2563, allocations: 0 / 0.8037 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.2818, allocations: 6.706 MB / 0.8103 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.423, allocations: 11.94 kB / 0.8103 GB, free: 1.355 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)