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.59/2.59, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001598/0.001598, allocations: 182.9 kB / 370.8 MB, free: 10.86 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.322/2.322, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.00106/0.00106, allocations: 97.05 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004899, allocations: 14.88 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002434/0.2086, allocations: 1.599 MB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.2111, allocations: 1.515 MB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.2114, allocations: 8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.907e-05/0.2115, allocations: 39.52 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.212, allocations: 91.67 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.2128, allocations: 222.2 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.2135, allocations: 385.2 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.2139, allocations: 222.1 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.2141, allocations: 163.2 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.2144, allocations: 186.9 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.2144, allocations: 20 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.2146, allocations: 31.98 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.2147, allocations: 79.61 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.2148, allocations: 109.4 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.2154, allocations: 0.6041 MB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2154, allocations: 0 / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2154, allocations: 7.875 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.2155, allocations: 0 / 0.9834 GB, free: 22.97 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.001786/0.2173, allocations: 0.8252 MB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2173, allocations: 15.95 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.2175, allocations: 86.52 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.2176, allocations: 67.16 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.2183, allocations: 414 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.2184, allocations: 44.94 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.2185, allocations: 55.98 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.2195, allocations: 459 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.2196, allocations: 0 / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.2196, allocations: 24 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.2197, allocations: 12 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000974/0.2207, allocations: 339.8 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.2234, allocations: 1.476 MB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.2246, allocations: 0.8782 MB / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.2247, allocations: 4 kB / 0.988 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000633/0.2253, allocations: 230.9 kB / 0.9882 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.046e-06/0.2253, allocations: 0 / 0.9882 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001446/0.2268, allocations: 0.4971 MB / 0.9887 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.2268, allocations: 106.8 kB / 0.9888 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.2274, allocations: 397.6 kB / 0.9892 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.2274, allocations: 33.7 kB / 0.9892 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.2277, allocations: 264.2 kB / 0.9895 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.2278, allocations: 142 kB / 0.9896 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.2278, allocations: 8 kB / 0.9896 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.2279, allocations: 358.8 kB / 0.9899 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.2284, allocations: 156.8 kB / 0.9901 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.229, allocations: 270.8 kB / 0.9904 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/0.2296, allocations: 210.4 kB / 0.9906 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2296, allocations: 0 / 0.9906 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00136/0.231, allocations: 0.5355 MB / 0.9911 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.2312, allocations: 0.7367 MB / 0.9918 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2312, allocations: 0 / 0.9918 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.2312, allocations: 4 kB / 0.9918 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.2319, allocations: 95.83 kB / 0.9919 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.2319, allocations: 4 kB / 0.9919 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/0.2326, allocations: 99.53 kB / 0.992 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.2327, allocations: 20 kB / 0.992 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.2327, allocations: 6.5 kB / 0.992 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009364/0.2336, allocations: 417.3 kB / 0.9924 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2336, allocations: 4.219 kB / 0.9924 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.2337, allocations: 15.89 kB / 0.9924 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.2342, allocations: 75.91 kB / 0.9925 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.2342, allocations: 4 kB / 0.9925 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.2348, allocations: 86.11 kB / 0.9926 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.2348, allocations: 19.98 kB / 0.9926 GB, free: 13.08 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.0002971/0.2351, allocations: 253 kB / 0.9928 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.2352, allocations: 43.44 kB / 0.9929 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2353, allocations: 56.7 kB / 0.9929 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.2354, allocations: 4 kB / 0.9929 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2354, allocations: 0 / 0.9929 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2354, allocations: 0 / 0.9929 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.2373, allocations: 1.019 MB / 0.9939 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2373, allocations: 0 / 0.9939 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.2379, allocations: 75.89 kB / 0.994 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.238, allocations: 4 kB / 0.994 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.238, allocations: 4 kB / 0.994 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.238, allocations: 4 kB / 0.994 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.238, allocations: 0 / 0.994 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.2395, allocations: 0.6642 MB / 0.9947 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.2396, allocations: 124.6 kB / 0.9948 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.2397, allocations: 12 kB / 0.9948 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.24, allocations: 27.92 kB / 0.9948 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.2401, allocations: 27.97 kB / 0.9949 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.2402, allocations: 15.98 kB / 0.9949 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003707/0.2405, allocations: 275.2 kB / 0.9951 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2406, allocations: 0 / 0.9951 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008496/0.2414, allocations: 183.3 kB / 0.9953 GB, free: 10.21 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.001849/0.2433, allocations: 1.221 MB / 0.9965 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.2451, allocations: 0.7178 MB / 0.9972 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2451, allocations: 0 / 0.9972 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.2456, allocations: 180.2 kB / 0.9974 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007343/0.2463, allocations: 88.02 kB / 0.9975 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.249, allocations: 2.567 MB / 1 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.2493, allocations: 0.8553 MB / 1.001 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003249/0.2496, allocations: 47.33 kB / 1.001 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.25, allocations: 187.4 kB / 1.001 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of SimCode: time 9.91e-07/0.25, allocations: 0 / 1.001 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0427/0.2927, allocations: 9.151 MB / 1.01 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/0.2931, allocations: 201.3 kB / 1.01 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.103, allocations: 3.938 kB / 1.01 GB, free: 10.98 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)