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.00166/0.001659, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001814/0.001814, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.55/2.55, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 70.77 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3682, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003232/0.3715, allocations: 1.852 MB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3733, allocations: 1.267 MB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.3735, allocations: 8 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.3737, allocations: 75.19 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.3739, allocations: 55.47 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.3743, allocations: 163.7 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.3747, allocations: 0.4892 MB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.3751, allocations: 258.3 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.3753, allocations: 175.3 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.3755, allocations: 191 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.3756, allocations: 52 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.142e-05/0.3756, allocations: 56 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.3757, allocations: 107.6 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.3759, allocations: 206.9 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.3764, allocations: 0.5565 MB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3764, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3764, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3764, allocations: 0 / 1.032 GB, free: 12.53 MB / 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.001257/0.3777, allocations: 0.7174 MB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.3778, allocations: 12.03 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/0.3779, allocations: 48.31 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.3784, allocations: 340.3 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.3784, allocations: 33.38 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.3785, allocations: 44.36 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.3791, allocations: 387.6 kB / 1.034 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3791, allocations: 192 / 1.034 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.3792, allocations: 19.94 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3792, allocations: 8 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.3797, allocations: 275.8 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.3817, allocations: 1.351 MB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007816/0.3825, allocations: 254.8 kB / 1.035 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.3828, allocations: 120.7 kB / 1.036 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.3828, allocations: 7.984 kB / 1.036 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.3828, allocations: 38.56 kB / 1.036 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.3829, allocations: 0 / 1.036 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0006472/0.3835, allocations: 302.7 kB / 1.036 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3836, allocations: 106.8 kB / 1.036 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.384, allocations: 401.6 kB / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3841, allocations: 37.7 kB / 1.036 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.3843, allocations: 231.9 kB / 1.037 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.3843, allocations: 78.89 kB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3844, allocations: 61.7 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3846, allocations: 346.8 kB / 1.037 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.3849, allocations: 124.7 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.3852, allocations: 201.1 kB / 1.037 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.3857, allocations: 267.5 kB / 1.038 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3857, allocations: 4 kB / 1.038 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000731/0.3864, allocations: 366.7 kB / 1.038 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3865, allocations: 11.94 kB / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3865, allocations: 0 / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.3865, allocations: 4 kB / 1.038 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3868, allocations: 76.05 kB / 1.038 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3868, allocations: 7.938 kB / 1.038 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.3871, allocations: 59.5 kB / 1.038 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.3871, allocations: 8 kB / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002728/0.3874, allocations: 204.1 kB / 1.038 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000235/0.3876, allocations: 175 kB / 1.039 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003182/0.388, allocations: 225.2 kB / 1.039 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.388, allocations: 0 / 1.039 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005204/0.3885, allocations: 322.6 kB / 1.039 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.3885, allocations: 8 kB / 1.039 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3885, allocations: 3.938 kB / 1.039 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-06/0.3886, allocations: 4 kB / 1.039 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.3888, allocations: 63.91 kB / 1.039 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3888, allocations: 4.156 kB / 1.039 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.389, allocations: 35.83 kB / 1.039 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.389, allocations: 12 kB / 1.039 GB, free: 4.859 MB / 0.8106 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.0001271/0.3892, allocations: 192.2 kB / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.3892, allocations: 39.47 kB / 1.039 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005039/0.3897, allocations: 258.1 kB / 1.04 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3897, allocations: 4 kB / 1.04 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3898, allocations: 3.938 kB / 1.04 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3898, allocations: 0 / 1.04 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.3911, allocations: 0.8519 MB / 1.041 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3911, allocations: 4 kB / 1.041 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.3913, allocations: 39.97 kB / 1.041 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.3913, allocations: 4.25 kB / 1.041 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.3914, allocations: 15.98 kB / 1.041 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.3914, allocations: 11.94 kB / 1.041 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3914, allocations: 4 kB / 1.041 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007079/0.3921, allocations: 492.8 kB / 1.041 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.3922, allocations: 116.7 kB / 1.041 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.3923, allocations: 16 kB / 1.041 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3925, allocations: 15.97 kB / 1.041 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.3925, allocations: 19.92 kB / 1.041 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3925, allocations: 8 kB / 1.041 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002953/0.3928, allocations: 287.2 kB / 1.042 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3928, allocations: 0 / 1.042 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004728/0.3933, allocations: 127.5 kB / 1.042 GB, free: 2.23 MB / 0.8106 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.0001637/0.3935, allocations: 115.2 kB / 1.042 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007888/0.3943, allocations: 396.1 kB / 1.042 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3943, allocations: 4.062 kB / 1.042 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3945, allocations: 107.8 kB / 1.042 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.395, allocations: 75.97 kB / 1.042 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3963, allocations: 0.6878 MB / 1.043 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.3967, allocations: 0.7918 MB / 1.044 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000158/0.3969, allocations: 42.95 kB / 1.044 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.397, allocations: 31.42 kB / 1.044 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.397, allocations: 3.938 kB / 1.044 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.007462/0.4045, allocations: 3.62 MB / 1.047 GB, free: 12.33 MB / 0.8262 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 -s cvode -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