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: 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.001036/0.001036, allocations: 99.42 kB / 16.02 MB, free: 76 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.001351/0.001351, allocations: 187 kB / 16.92 MB, free: 6.75 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.328 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.593/2.593, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 19.98 kB / 0.8735 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6247/0.625, allocations: 153.8 MB / 1.024 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002492/0.6276, allocations: 1.487 MB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.6298, allocations: 1.244 MB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004242/0.6303, allocations: 8 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.6305, allocations: 47.52 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.6308, allocations: 39.7 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.6313, allocations: 139.8 kB / 1.027 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000534/0.6318, allocations: 457 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.6322, allocations: 242.3 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.6324, allocations: 115.3 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.6326, allocations: 139 kB / 1.028 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.6327, allocations: 12 kB / 1.028 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.138e-05/0.6327, allocations: 12 kB / 1.028 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.6328, allocations: 59.64 kB / 1.028 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.633, allocations: 180.6 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.6334, allocations: 425 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.6334, allocations: 4 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6334, allocations: 4 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.6335, allocations: 0 / 1.028 GB, free: 11.38 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.001333/0.6348, allocations: 0.659 MB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6349, allocations: 12.03 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.635, allocations: 48.38 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.6355, allocations: 340.3 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.6355, allocations: 33.38 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.6356, allocations: 36.38 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/0.6363, allocations: 399.5 kB / 1.03 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.6363, allocations: 12.12 kB / 1.03 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.6364, allocations: 11.94 kB / 1.03 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.6364, allocations: 12 kB / 1.03 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006174/0.637, allocations: 291.9 kB / 1.03 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.6395, allocations: 1.374 MB / 1.031 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.6405, allocations: 274.8 kB / 1.032 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.6409, allocations: 132.8 kB / 1.032 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.6409, allocations: 4 kB / 1.032 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.641, allocations: 30.56 kB / 1.032 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.955e-06/0.641, allocations: 0 / 1.032 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0008885/0.6419, allocations: 340.9 kB / 1.032 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.642, allocations: 110.8 kB / 1.032 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/0.6426, allocations: 401.6 kB / 1.033 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.6427, allocations: 29.7 kB / 1.033 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.6429, allocations: 231.9 kB / 1.033 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.643, allocations: 78.92 kB / 1.033 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.6431, allocations: 37.7 kB / 1.033 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6432, allocations: 342.8 kB / 1.033 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.6436, allocations: 123.9 kB / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.644, allocations: 213.1 kB / 1.034 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/0.6446, allocations: 283.6 kB / 1.034 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6446, allocations: 4 kB / 1.034 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008603/0.6455, allocations: 382.3 kB / 1.034 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.6456, allocations: 142 kB / 1.034 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6456, allocations: 4 kB / 1.034 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6457, allocations: 0 / 1.034 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.646, allocations: 75.89 kB / 1.034 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.646, allocations: 4 kB / 1.034 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.6463, allocations: 67.56 kB / 1.034 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.6463, allocations: 8 kB / 1.034 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.375e-06/0.6463, allocations: 4 kB / 1.034 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000494/0.6468, allocations: 273.3 kB / 1.035 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6469, allocations: 4 kB / 1.035 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.6469, allocations: 4 kB / 1.035 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.6471, allocations: 68 kB / 1.035 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6471, allocations: 0 / 1.035 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.6474, allocations: 55.55 kB / 1.035 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.6474, allocations: 8 kB / 1.035 GB, free: 4.184 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.0002358/0.6476, allocations: 233.5 kB / 1.035 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.6477, allocations: 43.52 kB / 1.035 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/0.6483, allocations: 260.9 kB / 1.035 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.6483, allocations: 4 kB / 1.035 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6483, allocations: 7.938 kB / 1.035 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.6483, allocations: 3.984 kB / 1.035 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.6498, allocations: 0.8523 MB / 1.036 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6498, allocations: 12.02 kB / 1.036 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.6501, allocations: 47.91 kB / 1.036 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6501, allocations: 4 kB / 1.036 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.6501, allocations: 8 kB / 1.036 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.6501, allocations: 4 kB / 1.036 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6501, allocations: 3.938 kB / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.6509, allocations: 0.5054 MB / 1.037 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.6511, allocations: 124.6 kB / 1.037 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.6511, allocations: 8 kB / 1.037 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.6513, allocations: 27.97 kB / 1.037 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.6514, allocations: 23.86 kB / 1.037 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.6514, allocations: 16 kB / 1.037 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003213/0.6517, allocations: 283.2 kB / 1.037 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6517, allocations: 0 / 1.037 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004933/0.6522, allocations: 119.7 kB / 1.037 GB, free: 1.453 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.0001527/0.6524, allocations: 107.3 kB / 1.037 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009405/0.6533, allocations: 414 kB / 1.038 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6534, allocations: 0.625 kB / 1.038 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.6536, allocations: 111.8 kB / 1.038 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.6543, allocations: 81.95 kB / 1.038 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.6558, allocations: 0.885 MB / 1.039 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.6562, allocations: 0.7921 MB / 1.04 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.6563, allocations: 31.42 kB / 1.04 GB, free: 14.96 MB / 0.795 GB Notification: Performance of SimCode: time 4.2e-07/0.6563, allocations: 0 / 1.04 GB, free: 14.96 MB / 0.795 GB Notification: Performance of Templates: time 0.00734/0.6636, allocations: 4.194 MB / 1.044 GB, free: 10.77 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/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