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 1.426/1.426, allocations: 287.4 MB / 302.6 MB, free: 8.262 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.0008913/0.0008913, allocations: 178.1 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.117/1.117, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006213/0.0006213, allocations: 93.83 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 17.38 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1487, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.001591/0.1503, allocations: 1.587 MB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1519, allocations: 1.535 MB / 0.9818 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.1522, allocations: 8 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.1524, allocations: 51.45 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1527, allocations: 63.5 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.1532, allocations: 226.9 kB / 0.9821 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.1536, allocations: 0.5787 MB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.1539, allocations: 288.5 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1541, allocations: 171 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.1542, allocations: 186.9 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.1543, allocations: 20 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.1544, allocations: 31.98 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.1544, allocations: 79.56 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.1545, allocations: 105.4 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.1548, allocations: 0.608 MB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1549, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1549, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.1549, allocations: 0 / 0.9841 GB, free: 22.52 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.001025/0.1559, allocations: 0.8253 MB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1559, allocations: 8.031 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.156, allocations: 86.7 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.1561, allocations: 72.09 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.1565, allocations: 426.9 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1565, allocations: 33.38 kB / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.1566, allocations: 56.36 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.1572, allocations: 475.5 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1572, allocations: 7.938 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.1573, allocations: 23.92 kB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1573, allocations: 12 kB / 0.9861 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.1578, allocations: 335.8 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.1593, allocations: 1.484 MB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.1599, allocations: 0.8684 MB / 0.9887 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.1602, allocations: 217.3 kB / 0.9889 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1602, allocations: 4 kB / 0.9889 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/0.1606, allocations: 223 kB / 0.9891 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.714e-06/0.1606, allocations: 0 / 0.9891 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.0007488/0.1613, allocations: 0.5048 MB / 0.9896 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.1614, allocations: 110.8 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.1617, allocations: 389.6 kB / 0.9901 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.1617, allocations: 41.7 kB / 0.9901 GB, free: 16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1619, allocations: 260.3 kB / 0.9904 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.1619, allocations: 138 kB / 0.9905 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.1619, allocations: 12 kB / 0.9905 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.162, allocations: 354.8 kB / 0.9909 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.1623, allocations: 164.8 kB / 0.991 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.1626, allocations: 262.9 kB / 0.9913 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.1631, allocations: 403.9 kB / 0.9917 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1631, allocations: 0 / 0.9917 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000703/0.1638, allocations: 0.5394 MB / 0.9922 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.1639, allocations: 177 kB / 0.9924 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1639, allocations: 4 kB / 0.9924 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1639, allocations: 8.031 kB / 0.9924 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.1642, allocations: 91.83 kB / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1642, allocations: 4 kB / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.1645, allocations: 99.56 kB / 0.9926 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.1646, allocations: 16 kB / 0.9926 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/0.1646, allocations: 6.5 kB / 0.9926 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004916/0.1651, allocations: 425.7 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1651, allocations: 4 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-06/0.1651, allocations: 4 kB / 0.993 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1653, allocations: 71.91 kB / 0.9931 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1654, allocations: 7.938 kB / 0.9931 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.1657, allocations: 93.81 kB / 0.9932 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.1657, allocations: 19.98 kB / 0.9932 GB, free: 12.77 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.0001526/0.1658, allocations: 250.4 kB / 0.9934 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.1659, allocations: 43.53 kB / 0.9935 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.109e-05/0.166, allocations: 56.75 kB / 0.9935 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.166, allocations: 8 kB / 0.9935 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.166, allocations: 3.938 kB / 0.9935 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.166, allocations: 3.938 kB / 0.9935 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1672, allocations: 1.022 MB / 0.9945 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1672, allocations: 4 kB / 0.9945 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.1676, allocations: 71.89 kB / 0.9946 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1677, allocations: 0 / 0.9946 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1677, allocations: 12 kB / 0.9946 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1677, allocations: 4 kB / 0.9946 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1677, allocations: 0 / 0.9946 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.1689, allocations: 0.6603 MB / 0.9953 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.1689, allocations: 124.5 kB / 0.9954 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.169, allocations: 12 kB / 0.9954 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.1693, allocations: 23.98 kB / 0.9954 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1693, allocations: 23.97 kB / 0.9954 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1693, allocations: 11.98 kB / 0.9954 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002021/0.1696, allocations: 279.2 kB / 0.9957 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1696, allocations: 0 / 0.9957 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004347/0.17, allocations: 187.2 kB / 0.9959 GB, free: 9.887 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.0009329/0.1709, allocations: 1.225 MB / 0.9971 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008509/0.1718, allocations: 0.7177 MB / 0.9978 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1718, allocations: 0 / 0.9978 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.1721, allocations: 184.5 kB / 0.998 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.1725, allocations: 85.44 kB / 0.998 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.1756, allocations: 2.823 MB / 1.001 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.1758, allocations: 0.8508 MB / 1.002 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.176, allocations: 51.31 kB / 1.002 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.1762, allocations: 183.4 kB / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1762, allocations: 4 kB / 1.002 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8192/0.9954, allocations: 9.4 MB / 1.011 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.9956, allocations: 199.2 kB / 1.011 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.589, allocations: 3.938 kB / 1.011 GB, free: 10.16 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)