Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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.0007844/0.0007845, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004745/0.004745, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.381/1.381, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.636/1.636, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005663/0.0005659, allocations: 18.38 kB / 0.6744 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.00203/0.2136, allocations: 1.71 MB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2155, allocations: 1.566 MB / 0.7912 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.2157, allocations: 11.94 kB / 0.7912 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.2159, allocations: 55.44 kB / 0.7913 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.2161, allocations: 59.58 kB / 0.7913 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.2167, allocations: 279.5 kB / 0.7916 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005388/0.2172, allocations: 0.6061 MB / 0.7922 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.2176, allocations: 292.5 kB / 0.7925 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2178, allocations: 171 kB / 0.7926 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.218, allocations: 202.7 kB / 0.7928 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.218, allocations: 16 kB / 0.7928 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.2181, allocations: 35.97 kB / 0.7929 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.2182, allocations: 75.56 kB / 0.793 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.2184, allocations: 252.1 kB / 0.7932 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.219, allocations: 0.7241 MB / 0.7939 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.219, allocations: 0 / 0.7939 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.219, allocations: 0 / 0.7939 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.219, allocations: 0 / 0.7939 GB, free: 5.406 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001246/0.2203, allocations: 0.8253 MB / 0.7947 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2203, allocations: 8.031 kB / 0.7947 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.173e-05/0.2204, allocations: 86.7 kB / 0.7948 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.77e-05/0.2205, allocations: 76.09 kB / 0.7949 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.221, allocations: 422.9 kB / 0.7953 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.2211, allocations: 37.38 kB / 0.7953 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.2211, allocations: 52.38 kB / 0.7954 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.2219, allocations: 483.5 kB / 0.7958 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2219, allocations: 3.938 kB / 0.7958 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.222, allocations: 19.98 kB / 0.7958 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.222, allocations: 12 kB / 0.7959 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.2226, allocations: 343.8 kB / 0.7962 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.2246, allocations: 1.476 MB / 0.7976 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/0.2255, allocations: 0.8832 MB / 0.7985 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.2258, allocations: 216.4 kB / 0.7987 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.2259, allocations: 8 kB / 0.7987 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004431/0.2263, allocations: 220 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.663e-06/0.2263, allocations: 0 / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.0009342/0.2273, allocations: 0.5119 MB / 0.7994 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.2274, allocations: 106.8 kB / 0.7995 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.2278, allocations: 397.6 kB / 0.7999 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.2279, allocations: 37.7 kB / 0.7999 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.2281, allocations: 252.3 kB / 0.8002 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2282, allocations: 141.9 kB / 0.8003 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.2283, allocations: 49.69 kB / 0.8003 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2284, allocations: 362.8 kB / 0.8007 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.2288, allocations: 164.8 kB / 0.8009 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.2292, allocations: 263 kB / 0.8011 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.2299, allocations: 415.9 kB / 0.8015 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.2299, allocations: 4 kB / 0.8015 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009079/0.2308, allocations: 0.5393 MB / 0.802 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2309, allocations: 177 kB / 0.8022 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2309, allocations: 4 kB / 0.8022 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2309, allocations: 4 kB / 0.8022 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.2313, allocations: 87.89 kB / 0.8023 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2313, allocations: 11.94 kB / 0.8023 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.2317, allocations: 99.56 kB / 0.8024 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.2317, allocations: 16 kB / 0.8024 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2317, allocations: 4 kB / 0.8024 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006217/0.2324, allocations: 429.7 kB / 0.8028 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.2324, allocations: 3.938 kB / 0.8028 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-06/0.2324, allocations: 4 kB / 0.8028 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.2327, allocations: 75.91 kB / 0.8029 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2327, allocations: 4.219 kB / 0.8029 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.233, allocations: 87.48 kB / 0.803 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.233, allocations: 23.98 kB / 0.803 GB, free: 11.57 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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.0002119/0.2333, allocations: 253 kB / 0.8033 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.2333, allocations: 39.53 kB / 0.8033 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.2334, allocations: 60.78 kB / 0.8034 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2334, allocations: 4 kB / 0.8034 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2334, allocations: 3.938 kB / 0.8034 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2335, allocations: 0 / 0.8034 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.2348, allocations: 1.022 MB / 0.8044 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2348, allocations: 0 / 0.8044 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.2351, allocations: 75.89 kB / 0.8044 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2351, allocations: 4 kB / 0.8044 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.2351, allocations: 8 kB / 0.8044 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2351, allocations: 4 kB / 0.8044 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2351, allocations: 0 / 0.8044 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.2361, allocations: 0.6642 MB / 0.8051 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.2362, allocations: 124.5 kB / 0.8052 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.2363, allocations: 12 kB / 0.8052 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2365, allocations: 23.98 kB / 0.8052 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.2365, allocations: 23.97 kB / 0.8053 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.2366, allocations: 11.98 kB / 0.8053 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002817/0.2368, allocations: 283.1 kB / 0.8056 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2369, allocations: 4 kB / 0.8056 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005001/0.2374, allocations: 187.2 kB / 0.8057 GB, free: 8.68 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001259/0.2386, allocations: 1.225 MB / 0.8069 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.2397, allocations: 0.7337 MB / 0.8076 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2397, allocations: 0 / 0.8076 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.24, allocations: 175.8 kB / 0.8078 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.2406, allocations: 85.88 kB / 0.8079 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.246, allocations: 4.486 MB / 0.8123 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.2464, allocations: 0.8431 MB / 0.8131 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.2466, allocations: 55.31 kB / 0.8132 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.2468, allocations: 191.3 kB / 0.8133 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2468, allocations: 0 / 0.8133 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.267, allocations: 9.208 MB / 0.8223 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.2672, allocations: 212.1 kB / 0.8225 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.085, allocations: 0 / 0.8225 GB, free: 7.406 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)