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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001592/0.001593, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.746/2.746, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.88 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6798, allocations: 151.6 MB / 1.017 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003389/0.6832, allocations: 1.846 MB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.6854, allocations: 1.256 MB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.6858, allocations: 8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.6862, allocations: 71.2 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.6865, allocations: 59.45 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.6871, allocations: 175.7 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007046/0.6878, allocations: 489 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.6884, allocations: 262.3 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.6886, allocations: 175.3 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.6889, allocations: 195 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.689, allocations: 48 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.689, allocations: 52 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.6891, allocations: 107.7 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.6893, allocations: 206.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005056/0.6899, allocations: 0.5353 MB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6899, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.026e-06/0.6899, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.6899, allocations: 3.938 kB / 1.023 GB, free: 13.1 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.001381/0.6913, allocations: 0.7252 MB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6913, allocations: 8.031 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.6915, allocations: 48.38 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.6919, allocations: 344.2 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.692, allocations: 29.38 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.6921, allocations: 40.31 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.6927, allocations: 391.6 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6927, allocations: 192 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.6928, allocations: 19.94 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.6928, allocations: 12 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/0.6933, allocations: 275.8 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.6953, allocations: 1.355 MB / 1.026 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007717/0.6961, allocations: 250.6 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.6963, allocations: 123.9 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.6964, allocations: 4 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.6964, allocations: 30.56 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.6964, allocations: 4 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0006619/0.6971, allocations: 312.1 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.6972, allocations: 110.8 kB / 1.027 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.6976, allocations: 401.5 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.6976, allocations: 33.7 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.6977, allocations: 235.9 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.6978, allocations: 82.8 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.6979, allocations: 65.69 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6981, allocations: 346.8 kB / 1.028 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.6983, allocations: 112.8 kB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.6987, allocations: 201.1 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.6992, allocations: 263.4 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6992, allocations: 0 / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007105/0.6999, allocations: 376.7 kB / 1.029 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6999, allocations: 11.94 kB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6999, allocations: 3.984 kB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.7, allocations: 4 kB / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.7002, allocations: 63.91 kB / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.7003, allocations: 4 kB / 1.029 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.7005, allocations: 59.66 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.7006, allocations: 16.05 kB / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002732/0.7008, allocations: 205.6 kB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002264/0.7011, allocations: 186.4 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003141/0.7014, allocations: 219.8 kB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.079e-05/0.7014, allocations: 0 / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005296/0.702, allocations: 327.1 kB / 1.03 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.702, allocations: 4 kB / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.702, allocations: 7.938 kB / 1.03 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.702, allocations: 4 kB / 1.03 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.7022, allocations: 63.91 kB / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.7022, allocations: 0 / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.7025, allocations: 43.91 kB / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.7025, allocations: 12 kB / 1.03 GB, free: 5.41 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.0001123/0.7026, allocations: 196.2 kB / 1.03 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.7027, allocations: 39.47 kB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/0.7032, allocations: 248.9 kB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.7032, allocations: 7.938 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7032, allocations: 4 kB / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7032, allocations: 0 / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.7046, allocations: 0.8481 MB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7046, allocations: 4 kB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.7048, allocations: 43.97 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.7048, allocations: 4 kB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.7048, allocations: 12 kB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.7048, allocations: 12.19 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7049, allocations: 0 / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.7056, allocations: 493.5 kB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.7057, allocations: 120.7 kB / 1.032 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.7057, allocations: 4 kB / 1.032 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.7059, allocations: 23.98 kB / 1.032 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.706, allocations: 19.92 kB / 1.032 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.706, allocations: 8 kB / 1.032 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002904/0.7063, allocations: 283.2 kB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7063, allocations: 0 / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004699/0.7068, allocations: 123.6 kB / 1.032 GB, free: 2.793 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.0001571/0.7069, allocations: 119.1 kB / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008425/0.7078, allocations: 409.3 kB / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7078, allocations: 4.625 kB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.7081, allocations: 99.83 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.7087, allocations: 75.52 kB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.7101, allocations: 0.6928 MB / 1.034 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.7104, allocations: 0.7918 MB / 1.034 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.7106, allocations: 42.95 kB / 1.034 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-05/0.7107, allocations: 27.44 kB / 1.034 GB, free: 484 kB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7107, allocations: 0 / 1.034 GB, free: 484 kB / 0.7794 GB Notification: Performance of Templates: time 0.009938/0.7207, allocations: 3.623 MB / 1.038 GB, free: 12.88 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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