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.001577/0.001577, allocations: 111.8 kB / 16.42 MB, free: 6.5 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.001709/0.001709, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.586/2.586, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 71.91 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.063, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003593/1.067, allocations: 1.849 MB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002392/1.07, allocations: 1.271 MB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004902/1.07, allocations: 15.94 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003385/1.07, allocations: 63.27 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/1.071, allocations: 55.47 kB / 1.171 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/1.071, allocations: 171.7 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006941/1.072, allocations: 493.1 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/1.073, allocations: 250.3 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/1.073, allocations: 179.3 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/1.073, allocations: 199 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.235e-05/1.073, allocations: 52 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/1.073, allocations: 48 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/1.073, allocations: 107.6 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/1.074, allocations: 202.9 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000635/1.074, allocations: 0.5646 MB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/1.074, allocations: 0 / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.362e-06/1.074, allocations: 0 / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.664e-05/1.074, allocations: 3.938 kB / 1.173 GB, free: 14.31 MB / 0.9044 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.001392/1.076, allocations: 0.7325 MB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.076, allocations: 8.625 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/1.076, allocations: 52.61 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/1.076, allocations: 348.5 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/1.076, allocations: 25.38 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/1.076, allocations: 44.36 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/1.077, allocations: 391.5 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/1.077, allocations: 4.188 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/1.077, allocations: 23.94 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.077, allocations: 8 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/1.078, allocations: 271.8 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/1.08, allocations: 1.351 MB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008279/1.081, allocations: 250.6 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/1.081, allocations: 117 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/1.081, allocations: 15.92 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.082, allocations: 34.56 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 2.355e-06/1.082, allocations: 4 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0007625/1.082, allocations: 306.8 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.082, allocations: 110.8 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/1.083, allocations: 393.7 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/1.083, allocations: 33.7 kB / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/1.083, allocations: 244.3 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/1.083, allocations: 75.34 kB / 1.177 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/1.083, allocations: 61.69 kB / 1.177 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.083, allocations: 346.8 kB / 1.178 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/1.084, allocations: 124.8 kB / 1.178 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/1.084, allocations: 207.2 kB / 1.178 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/1.085, allocations: 270 kB / 1.178 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.085, allocations: 0 / 1.178 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007674/1.085, allocations: 369.2 kB / 1.179 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.085, allocations: 11.88 kB / 1.179 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.085, allocations: 7.984 kB / 1.179 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/1.085, allocations: 4.156 kB / 1.179 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/1.086, allocations: 71.91 kB / 1.179 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.086, allocations: 4 kB / 1.179 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/1.086, allocations: 59.58 kB / 1.179 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/1.086, allocations: 12 kB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002853/1.086, allocations: 204.1 kB / 1.179 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002384/1.087, allocations: 173.8 kB / 1.179 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003402/1.087, allocations: 229.6 kB / 1.179 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/1.087, allocations: 0 / 1.179 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005462/1.088, allocations: 322.5 kB / 1.18 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/1.088, allocations: 8 kB / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/1.088, allocations: 0 / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/1.088, allocations: 12.03 kB / 1.18 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/1.088, allocations: 63.91 kB / 1.18 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/1.088, allocations: 7.938 kB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/1.088, allocations: 39.81 kB / 1.18 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/1.088, allocations: 12 kB / 1.18 GB, free: 6.582 MB / 0.9044 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.0001281/1.088, allocations: 194.4 kB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/1.088, allocations: 39.7 kB / 1.18 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/1.089, allocations: 250.5 kB / 1.18 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.089, allocations: 3.938 kB / 1.18 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.089, allocations: 0 / 1.18 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/1.089, allocations: 120.9 kB / 1.18 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/1.089, allocations: 4 kB / 1.18 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/1.089, allocations: 19.98 kB / 1.181 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/1.089, allocations: 12.08 kB / 1.181 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006711/1.09, allocations: 325.8 kB / 1.181 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007433/1.091, allocations: 0.5161 MB / 1.181 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001985/1.091, allocations: 95.98 kB / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002953/1.091, allocations: 283.2 kB / 1.182 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of Backend: time 1.933e-06/1.091, allocations: 0 / 1.182 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001051/1.092, allocations: 411.9 kB / 1.182 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00131/1.094, allocations: 1.071 MB / 1.183 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of Templates: time 0.00999/1.104, allocations: 4.806 MB / 1.188 GB, free: 14.4 MB / 0.92 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