Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput",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.0007654/0.0007654, allocations: 98.03 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.005816/0.005816, allocations: 168.7 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 12 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6062, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.001923/0.6082, allocations: 1.483 MB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.6098, allocations: 1.244 MB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.6101, allocations: 4 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.6103, allocations: 55.52 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.6105, allocations: 31.72 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.6109, allocations: 147.8 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.6113, allocations: 453 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.6117, allocations: 242.3 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.6119, allocations: 119.2 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.612, allocations: 143 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.6121, allocations: 12 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.774e-05/0.6121, allocations: 12 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.6122, allocations: 59.64 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.6123, allocations: 172.6 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.6127, allocations: 0.4964 MB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6127, allocations: 3.938 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6127, allocations: 4 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.6127, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001048/0.6138, allocations: 0.659 MB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.6138, allocations: 12.03 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.047e-05/0.6139, allocations: 74.72 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.795e-05/0.614, allocations: 52.38 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.6144, allocations: 336.3 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.6144, allocations: 33.31 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.6145, allocations: 36.38 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.6151, allocations: 403.5 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6152, allocations: 7.938 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.6152, allocations: 12 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.6152, allocations: 12 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.6158, allocations: 295.8 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.6178, allocations: 1.362 MB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000802/0.6186, allocations: 274.7 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.6189, allocations: 128.9 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.6189, allocations: 4 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.619, allocations: 38.5 kB / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.619, allocations: 0 / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0006929/0.6197, allocations: 336.9 kB / 1.032 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.6197, allocations: 106.8 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.6202, allocations: 405.6 kB / 1.032 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.6202, allocations: 25.7 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.6203, allocations: 235.9 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.6204, allocations: 78.92 kB / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.6205, allocations: 33.7 kB / 1.032 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6206, allocations: 346.8 kB / 1.033 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.6209, allocations: 127.9 kB / 1.033 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.6213, allocations: 217 kB / 1.033 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000723/0.622, allocations: 287.4 kB / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.622, allocations: 0 / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007437/0.6228, allocations: 394.3 kB / 1.034 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.6229, allocations: 130.2 kB / 1.034 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.6229, allocations: 4 kB / 1.034 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.6229, allocations: 0 / 1.034 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.6232, allocations: 79.89 kB / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6232, allocations: 4 kB / 1.034 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.6235, allocations: 63.61 kB / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.6235, allocations: 15.98 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/0.6235, allocations: 4 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004524/0.624, allocations: 262.7 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.624, allocations: 4 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.624, allocations: 8.094 kB / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.6243, allocations: 67.91 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6243, allocations: 4 kB / 1.034 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.6245, allocations: 43.61 kB / 1.034 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.6245, allocations: 12 kB / 1.034 GB, free: 3.887 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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.0001755/0.6247, allocations: 233 kB / 1.035 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.6247, allocations: 35.53 kB / 1.035 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.6252, allocations: 260.9 kB / 1.035 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.6253, allocations: 11.94 kB / 1.035 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6253, allocations: 0 / 1.035 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6253, allocations: 3.984 kB / 1.035 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.6266, allocations: 0.8678 MB / 1.036 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6266, allocations: 4 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.6268, allocations: 47.91 kB / 1.036 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.6268, allocations: 4 kB / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.6269, allocations: 8 kB / 1.036 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.6269, allocations: 4 kB / 1.036 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6269, allocations: 3.938 kB / 1.036 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007283/0.6276, allocations: 0.5111 MB / 1.036 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/0.6277, allocations: 124.6 kB / 1.037 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.6278, allocations: 15.92 kB / 1.037 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.628, allocations: 19.98 kB / 1.037 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.628, allocations: 23.92 kB / 1.037 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.628, allocations: 8 kB / 1.037 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002886/0.6283, allocations: 287.2 kB / 1.037 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6283, allocations: 0 / 1.037 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004679/0.6288, allocations: 119.7 kB / 1.037 GB, free: 1.156 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009825/0.6298, allocations: 1.061 MB / 1.038 GB, free: 48 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008048/0.6306, allocations: 415.6 kB / 1.038 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6306, allocations: 0 / 1.038 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.6308, allocations: 109 kB / 1.039 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.6315, allocations: 69.52 kB / 1.039 GB, free: 15.47 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.637, allocations: 3.678 MB / 1.042 GB, free: 11.63 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.6374, allocations: 0.7999 MB / 1.043 GB, free: 10.81 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000175/0.6376, allocations: 42.94 kB / 1.043 GB, free: 10.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.6377, allocations: 127.4 kB / 1.043 GB, free: 10.64 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.6378, allocations: 0 / 1.043 GB, free: 10.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.6548, allocations: 6.457 MB / 1.049 GB, free: 4.391 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.655, allocations: 221.4 kB / 1.05 GB, free: 4.137 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.588, allocations: 0 / 1.05 GB, free: 4.137 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches