Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001159/0.001159, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.426/2.426, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 1.055 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6976, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003071/0.7007, allocations: 1.851 MB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.7024, allocations: 1.26 MB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.7027, allocations: 8 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.703, allocations: 67.2 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.7032, allocations: 59.45 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.7036, allocations: 171.7 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.7041, allocations: 497 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003929/0.7045, allocations: 254.3 kB / 1.213 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.7047, allocations: 175.3 kB / 1.213 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.7049, allocations: 199 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-05/0.705, allocations: 48 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.322e-05/0.705, allocations: 56 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.574e-05/0.7051, allocations: 103.7 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.7053, allocations: 206.8 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.7058, allocations: 0.5603 MB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7058, allocations: 8 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7058, allocations: 0 / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.7058, allocations: 0 / 1.214 GB, free: 8.066 MB / 0.9356 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.001193/0.707, allocations: 0.7192 MB / 1.215 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.707, allocations: 12.03 kB / 1.215 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.7071, allocations: 48.38 kB / 1.215 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.7076, allocations: 344.2 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.7076, allocations: 29.38 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.7077, allocations: 40.38 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.7083, allocations: 387.6 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.7083, allocations: 192 / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.7084, allocations: 19.94 kB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.7084, allocations: 8 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.709, allocations: 279.8 kB / 1.216 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.711, allocations: 1.347 MB / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.7118, allocations: 250.6 kB / 1.217 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.712, allocations: 117 kB / 1.217 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.712, allocations: 4 kB / 1.217 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.7121, allocations: 38.56 kB / 1.217 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.7121, allocations: 4 kB / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0006705/0.7127, allocations: 301 kB / 1.218 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.7128, allocations: 110.7 kB / 1.218 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.7132, allocations: 401.6 kB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.7133, allocations: 33.7 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.7134, allocations: 235.9 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.7135, allocations: 74.84 kB / 1.218 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.7136, allocations: 69.59 kB / 1.219 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7137, allocations: 346.8 kB / 1.219 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.714, allocations: 116.8 kB / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.7144, allocations: 206.6 kB / 1.219 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.7149, allocations: 267.5 kB / 1.219 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7149, allocations: 0 / 1.219 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007117/0.7156, allocations: 374.8 kB / 1.22 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.7156, allocations: 11.92 kB / 1.22 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.7156, allocations: 7.938 kB / 1.22 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7156, allocations: 0 / 1.22 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.716, allocations: 68.06 kB / 1.22 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.716, allocations: 11.98 kB / 1.22 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.7162, allocations: 51.62 kB / 1.22 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.7163, allocations: 15.97 kB / 1.22 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002692/0.7165, allocations: 212 kB / 1.22 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002241/0.7168, allocations: 170.7 kB / 1.22 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003033/0.7171, allocations: 221.9 kB / 1.221 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.7171, allocations: 0 / 1.221 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005053/0.7176, allocations: 322.8 kB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.7176, allocations: 8 kB / 1.221 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.7176, allocations: 3.938 kB / 1.221 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.7176, allocations: 4 kB / 1.221 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.7179, allocations: 67.91 kB / 1.221 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.7179, allocations: 4.156 kB / 1.221 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.7181, allocations: 47.66 kB / 1.221 GB, free: 404 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.7181, allocations: 12 kB / 1.221 GB, free: 392 kB / 0.9356 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.0001113/0.7182, allocations: 192.2 kB / 1.221 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.7183, allocations: 35.56 kB / 1.221 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004952/0.7188, allocations: 254.8 kB / 1.221 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7188, allocations: 4 kB / 1.221 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7188, allocations: 0 / 1.221 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7188, allocations: 0 / 1.221 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.7201, allocations: 0.8442 MB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7202, allocations: 0 / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.7204, allocations: 47.91 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.7204, allocations: 4.25 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.7204, allocations: 12 kB / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.7204, allocations: 0 / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7204, allocations: 7.938 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006939/0.7211, allocations: 493.3 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.7212, allocations: 128.6 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.7213, allocations: 8 kB / 1.223 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.7215, allocations: 19.98 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.7215, allocations: 19.92 kB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.7215, allocations: 7.984 kB / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002812/0.7218, allocations: 283.2 kB / 1.223 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.563e-06/0.7218, allocations: 0 / 1.223 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004532/0.7223, allocations: 127.5 kB / 1.223 GB, free: 13.78 MB / 0.9512 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.0001361/0.7224, allocations: 119.1 kB / 1.223 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007845/0.7232, allocations: 394.6 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7232, allocations: 12 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.7234, allocations: 99.77 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.7239, allocations: 93.83 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.7252, allocations: 0.7062 MB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.7255, allocations: 0.7918 MB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.7256, allocations: 27.44 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.7257, allocations: 0 / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.006481/0.7321, allocations: 4.289 MB / 1.23 GB, free: 7.184 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches