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.0006766/0.0006767, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007298/0.0007298, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.62/1.62, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004553/0.0004553, allocations: 17.59 kB / 0.6739 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1914, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002247/0.1937, allocations: 1.583 MB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1961, allocations: 1.531 MB / 0.7905 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/0.1965, allocations: 11.94 kB / 0.7905 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.1967, allocations: 59.44 kB / 0.7905 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.1971, allocations: 63.5 kB / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006832/0.1978, allocations: 227.2 kB / 0.7908 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006505/0.1985, allocations: 0.5671 MB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.1989, allocations: 230.1 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.1991, allocations: 171 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.1994, allocations: 182.9 kB / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.1995, allocations: 16 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1996, allocations: 47.91 kB / 0.792 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.1997, allocations: 67.62 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1998, allocations: 109.4 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.2003, allocations: 0.6041 MB / 0.7927 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2004, allocations: 4 kB / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2004, allocations: 4 kB / 0.7927 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.2004, allocations: 0 / 0.7927 GB, free: 6.332 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.001446/0.2018, allocations: 0.8251 MB / 0.7936 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2019, allocations: 11.97 kB / 0.7936 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.202, allocations: 90.52 kB / 0.7937 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.2021, allocations: 71.16 kB / 0.7937 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.2027, allocations: 410 kB / 0.7941 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.2027, allocations: 40.94 kB / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.2028, allocations: 52 kB / 0.7942 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007399/0.2036, allocations: 475 kB / 0.7947 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2036, allocations: 4 kB / 0.7947 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.2036, allocations: 20 kB / 0.7947 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2036, allocations: 8 kB / 0.7947 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005792/0.2042, allocations: 339.8 kB / 0.795 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.2061, allocations: 1.476 MB / 0.7964 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.207, allocations: 0.876 MB / 0.7973 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.2073, allocations: 217.3 kB / 0.7975 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.2073, allocations: 7.984 kB / 0.7975 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.2077, allocations: 231.8 kB / 0.7977 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.2078, allocations: 0 / 0.7977 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.0008454/0.2086, allocations: 0.4925 MB / 0.7982 GB, free: 412 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.2087, allocations: 114.6 kB / 0.7983 GB, free: 272 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.2091, allocations: 397.5 kB / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.2091, allocations: 37.7 kB / 0.7987 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2093, allocations: 260.3 kB / 0.799 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/0.2094, allocations: 138 kB / 0.7991 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.2094, allocations: 8 kB / 0.7991 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2096, allocations: 354.8 kB / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.2099, allocations: 164.8 kB / 0.7996 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.2102, allocations: 270.8 kB / 0.7999 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.2106, allocations: 206.4 kB / 0.8001 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2106, allocations: 8 kB / 0.8001 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000829/0.2114, allocations: 0.5352 MB / 0.8006 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.2115, allocations: 177.4 kB / 0.8008 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2115, allocations: 7.938 kB / 0.8008 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2116, allocations: 4 kB / 0.8008 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.2119, allocations: 91.83 kB / 0.8009 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2119, allocations: 4 kB / 0.8009 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.2123, allocations: 103.5 kB / 0.801 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.2123, allocations: 19.98 kB / 0.801 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/0.2123, allocations: 4 kB / 0.801 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005881/0.2129, allocations: 425.3 kB / 0.8014 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.2129, allocations: 0 / 0.8014 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.2129, allocations: 8 kB / 0.8014 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.2132, allocations: 71.91 kB / 0.8015 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2132, allocations: 7.938 kB / 0.8015 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.2135, allocations: 87.81 kB / 0.8016 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.2135, allocations: 16 kB / 0.8016 GB, free: 12.8 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,$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.0002077/0.2137, allocations: 256.3 kB / 0.8018 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.2138, allocations: 43.44 kB / 0.8019 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.443e-05/0.2139, allocations: 52.77 kB / 0.8019 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2139, allocations: 4 kB / 0.8019 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2139, allocations: 0 / 0.8019 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2139, allocations: 7.938 kB / 0.8019 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.2152, allocations: 1.003 MB / 0.8029 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2152, allocations: 0 / 0.8029 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.2155, allocations: 75.91 kB / 0.803 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2155, allocations: 4 kB / 0.803 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.2155, allocations: 15.94 kB / 0.803 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2156, allocations: 0 / 0.803 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2156, allocations: 4 kB / 0.803 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/0.2164, allocations: 0.6562 MB / 0.8037 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.2165, allocations: 120.6 kB / 0.8038 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.2166, allocations: 4 kB / 0.8038 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.2168, allocations: 35.92 kB / 0.8038 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.2168, allocations: 31.69 kB / 0.8038 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.2169, allocations: 12 kB / 0.8039 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002647/0.2171, allocations: 279.2 kB / 0.8041 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2171, allocations: 0 / 0.8041 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000556/0.2177, allocations: 183.3 kB / 0.8043 GB, free: 9.934 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 (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.001228/0.2189, allocations: 1.233 MB / 0.8055 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.22, allocations: 0.7145 MB / 0.8062 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.22, allocations: 4 kB / 0.8062 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.2203, allocations: 179.9 kB / 0.8064 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.2208, allocations: 97.48 kB / 0.8065 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.2247, allocations: 2.815 MB / 0.8092 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.2251, allocations: 0.8547 MB / 0.81 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001912/0.2253, allocations: 51.33 kB / 0.8101 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.2255, allocations: 183.4 kB / 0.8103 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.2255, allocations: 0 / 0.8103 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.2463, allocations: 9.405 MB / 0.8195 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.2466, allocations: 201.5 kB / 0.8196 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.026, allocations: 3.938 kB / 0.8197 GB, free: 10.2 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/linux/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) Environment - environmentSimulation: