Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.699/2.699, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001363/0.001363, allocations: 184.3 kB / 371 MB, free: 10.88 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.262/2.262, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009305/0.0009302, allocations: 86.09 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006954/0.0006956, allocations: 14.73 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2128, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.00247/0.2153, allocations: 1.572 MB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.2181, allocations: 1.543 MB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.2185, allocations: 8 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.2188, allocations: 59.38 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.2192, allocations: 55.56 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000844/0.2201, allocations: 229.8 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007716/0.2208, allocations: 0.571 MB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/0.2213, allocations: 222.1 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.2216, allocations: 171.1 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.2218, allocations: 190.8 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.138e-05/0.2219, allocations: 20 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.2221, allocations: 27.98 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.2222, allocations: 83.56 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.2223, allocations: 109.4 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.223, allocations: 0.6041 MB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.537e-06/0.223, allocations: 4 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.525e-06/0.223, allocations: 0 / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.223, allocations: 0 / 0.9838 GB, free: 22.81 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002001/0.225, allocations: 0.8252 MB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2251, allocations: 12.02 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.2253, allocations: 86.52 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.2254, allocations: 67.16 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007259/0.2262, allocations: 421.9 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.2262, allocations: 37 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.2264, allocations: 59.94 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.2275, allocations: 466.9 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.2276, allocations: 3.984 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.2276, allocations: 20 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2277, allocations: 16 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2287, allocations: 335.8 kB / 0.9861 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.2318, allocations: 1.48 MB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.2331, allocations: 0.8784 MB / 0.9884 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.2337, allocations: 209.3 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.2337, allocations: 4 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/0.2344, allocations: 238.9 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.278e-06/0.2344, allocations: 0 / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001552/0.236, allocations: 0.4932 MB / 0.9893 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.2361, allocations: 110.8 kB / 0.9894 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.2367, allocations: 405.5 kB / 0.9898 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.2368, allocations: 37.7 kB / 0.9898 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.2371, allocations: 256.3 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.2372, allocations: 134 kB / 0.9902 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.2372, allocations: 8 kB / 0.9902 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.2374, allocations: 358.8 kB / 0.9905 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.2379, allocations: 164.8 kB / 0.9907 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.2385, allocations: 263 kB / 0.9909 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.2391, allocations: 214.4 kB / 0.9911 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2391, allocations: 0 / 0.9911 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00147/0.2406, allocations: 0.5315 MB / 0.9917 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.746e-05/0.2407, allocations: 177.5 kB / 0.9918 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2408, allocations: 4 kB / 0.9918 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2408, allocations: 4 kB / 0.9918 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.2414, allocations: 91.89 kB / 0.9919 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2415, allocations: 7.938 kB / 0.9919 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/0.2422, allocations: 99.47 kB / 0.992 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.2423, allocations: 23.98 kB / 0.992 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2423, allocations: 6.031 kB / 0.992 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009645/0.2433, allocations: 417.3 kB / 0.9924 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.2433, allocations: 3.938 kB / 0.9924 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2433, allocations: 4 kB / 0.9925 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.2438, allocations: 75.91 kB / 0.9925 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2438, allocations: 12.17 kB / 0.9925 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.2445, allocations: 75.64 kB / 0.9926 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.2446, allocations: 20 kB / 0.9926 GB, free: 13.29 MB / 0.6198 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003234/0.2449, allocations: 260 kB / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.245, allocations: 43.44 kB / 0.9929 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.2452, allocations: 52.7 kB / 0.993 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2452, allocations: 4 kB / 0.993 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.2452, allocations: 7.953 kB / 0.993 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2452, allocations: 3.984 kB / 0.993 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.2471, allocations: 1.011 MB / 0.994 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2471, allocations: 0 / 0.994 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.2478, allocations: 71.91 kB / 0.994 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.2478, allocations: 7.953 kB / 0.994 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.2479, allocations: 15.98 kB / 0.9941 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.2479, allocations: 0 / 0.9941 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2479, allocations: 0 / 0.9941 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.2494, allocations: 0.6602 MB / 0.9947 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.2496, allocations: 120.6 kB / 0.9948 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-05/0.2497, allocations: 16.08 kB / 0.9948 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.25, allocations: 27.97 kB / 0.9949 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.2501, allocations: 23.97 kB / 0.9949 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.2501, allocations: 8 kB / 0.9949 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003776/0.2505, allocations: 283.2 kB / 0.9952 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2505, allocations: 0 / 0.9952 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007674/0.2513, allocations: 187.3 kB / 0.9953 GB, free: 10.41 MB / 0.6198 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 (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.00193/0.2533, allocations: 1.221 MB / 0.9965 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.255, allocations: 0.7218 MB / 0.9972 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2551, allocations: 0 / 0.9972 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.2556, allocations: 183.6 kB / 0.9974 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/0.2565, allocations: 85.91 kB / 0.9975 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/0.2623, allocations: 2.823 MB / 1 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2626, allocations: 0.8508 MB / 1.001 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003227/0.263, allocations: 51.33 kB / 1.001 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.2633, allocations: 187.3 kB / 1.001 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2633, allocations: 0 / 1.001 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04742/0.3108, allocations: 9.402 MB / 1.01 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003361/0.3112, allocations: 197.4 kB / 1.011 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/3.246, allocations: 0 / 1.011 GB, free: 10.69 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)