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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001/0.001, allocations: 92.16 kB / 16.02 MB, free: 80 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.001472/0.001473, allocations: 173 kB / 16.92 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.472/1.472, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 12 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3129, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.00229/0.3153, allocations: 1.488 MB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3174, allocations: 1.236 MB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000457/0.3179, allocations: 8 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.3182, allocations: 51.52 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.3184, allocations: 39.72 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.3189, allocations: 143.8 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.3195, allocations: 453 kB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.32, allocations: 246.3 kB / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.3202, allocations: 115.3 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3204, allocations: 135 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.3204, allocations: 12 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.043e-05/0.3204, allocations: 16 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.3205, allocations: 59.64 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3207, allocations: 176.6 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.3211, allocations: 423.1 kB / 1.064 GB, free: 392 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3211, allocations: 0 / 1.064 GB, free: 392 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3211, allocations: 0 / 1.064 GB, free: 392 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.3211, allocations: 0 / 1.064 GB, free: 392 kB / 0.8106 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.001207/0.3223, allocations: 0.6707 MB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3224, allocations: 11.97 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.3225, allocations: 48.38 kB / 1.065 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.3229, allocations: 336.3 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.323, allocations: 33.36 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.3231, allocations: 36.38 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.3238, allocations: 403.5 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3238, allocations: 192 / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.3238, allocations: 19.94 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3239, allocations: 11.94 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.3245, allocations: 287.9 kB / 1.066 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.3267, allocations: 1.378 MB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/0.3275, allocations: 282.8 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.3277, allocations: 124.8 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3278, allocations: 3.984 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3278, allocations: 42.56 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.3278, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0007454/0.3286, allocations: 335.5 kB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.3287, allocations: 102.8 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.3292, allocations: 401.6 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.3292, allocations: 33.7 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3294, allocations: 235.9 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.3295, allocations: 78.98 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.3295, allocations: 29.7 kB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3297, allocations: 346.8 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.33, allocations: 123.9 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.3303, allocations: 209.1 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.3309, allocations: 284.6 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.3309, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007842/0.3317, allocations: 384.9 kB / 1.07 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/0.3318, allocations: 146.7 kB / 1.07 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3318, allocations: 0 / 1.07 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3318, allocations: 4 kB / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.3322, allocations: 83.89 kB / 1.07 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3322, allocations: 0 / 1.07 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.3325, allocations: 67.52 kB / 1.07 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3325, allocations: 15.98 kB / 1.07 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.3325, allocations: 4 kB / 1.07 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004971/0.333, allocations: 263.7 kB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.333, allocations: 4 kB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/0.3331, allocations: 0 / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.3333, allocations: 67.84 kB / 1.07 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3333, allocations: 7.938 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3335, allocations: 47.58 kB / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3336, allocations: 12.16 kB / 1.07 GB, free: 9.172 MB / 0.8262 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.0002007/0.3338, allocations: 233 kB / 1.071 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.3339, allocations: 31.62 kB / 1.071 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005536/0.3344, allocations: 268.9 kB / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3344, allocations: 4 kB / 1.071 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3344, allocations: 3.938 kB / 1.071 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3345, allocations: 0 / 1.071 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.3359, allocations: 0.8677 MB / 1.072 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3359, allocations: 0 / 1.072 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.3362, allocations: 51.91 kB / 1.072 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.3362, allocations: 4 kB / 1.072 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3362, allocations: 12.23 kB / 1.072 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3362, allocations: 4 kB / 1.072 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3362, allocations: 7.938 kB / 1.072 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.337, allocations: 0.4998 MB / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.3371, allocations: 120.6 kB / 1.073 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.3372, allocations: 12 kB / 1.073 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.3374, allocations: 27.97 kB / 1.073 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.3375, allocations: 23.86 kB / 1.073 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3375, allocations: 4 kB / 1.073 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003087/0.3378, allocations: 287.2 kB / 1.073 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3378, allocations: 0 / 1.073 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005302/0.3383, allocations: 119.7 kB / 1.073 GB, free: 6.457 MB / 0.8262 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.0001815/0.3385, allocations: 119.1 kB / 1.073 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009043/0.3394, allocations: 404.8 kB / 1.073 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3395, allocations: 0 / 1.073 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3397, allocations: 116.6 kB / 1.074 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.3404, allocations: 73.5 kB / 1.074 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.3419, allocations: 0.8772 MB / 1.075 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.3423, allocations: 0.7921 MB / 1.075 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.3424, allocations: 35.44 kB / 1.075 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3424, allocations: 4 kB / 1.075 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of Templates: time 0.007582/0.35, allocations: 4.205 MB / 1.079 GB, free: 15.77 MB / 0.8419 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