Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.0013, allocations: 105.8 kB / 15.98 MB, free: 6.348 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.001451/0.001451, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 66.77 kB / 0.8127 GB, free: 32.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2914, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.003498/0.2949, allocations: 1.876 MB / 0.9516 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2969, allocations: 1.244 MB / 0.9528 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003976/0.2973, allocations: 12 kB / 0.9528 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.2977, allocations: 55.45 kB / 0.9529 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.298, allocations: 27.8 kB / 0.9529 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.2985, allocations: 151.8 kB / 0.9531 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006572/0.2992, allocations: 493 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.2997, allocations: 254.3 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.2999, allocations: 179.2 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.3002, allocations: 198.9 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3003, allocations: 56 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.3004, allocations: 52 kB / 0.9543 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.3005, allocations: 99.69 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.3007, allocations: 206.8 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.3013, allocations: 443.3 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3013, allocations: 3.938 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3013, allocations: 0 / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.3013, allocations: 0 / 0.955 GB, free: 3.895 MB / 0.7325 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.001474/0.3028, allocations: 0.7213 MB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3028, allocations: 8.031 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.303, allocations: 48.38 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.3034, allocations: 340.3 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.3035, allocations: 37.31 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.3035, allocations: 40.38 kB / 0.9561 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.3042, allocations: 383.6 kB / 0.9565 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3043, allocations: 192 / 0.9565 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.3043, allocations: 19.94 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3043, allocations: 8 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.3049, allocations: 279.8 kB / 0.9568 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.3072, allocations: 1.358 MB / 0.9581 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/0.308, allocations: 246.8 kB / 0.9583 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.3083, allocations: 128.7 kB / 0.9585 GB, free: 128 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.3083, allocations: 11.92 kB / 0.9585 GB, free: 116 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.3084, allocations: 34.56 kB / 0.9585 GB, free: 72 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.434e-06/0.3084, allocations: 0 / 0.9585 GB, free: 72 kB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0007083/0.3091, allocations: 303 kB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.3092, allocations: 110.8 kB / 0.9589 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.3096, allocations: 401.6 kB / 0.9593 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3096, allocations: 29.7 kB / 0.9593 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.3098, allocations: 231.9 kB / 0.9595 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.3099, allocations: 78.84 kB / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.31, allocations: 65.69 kB / 0.9597 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3102, allocations: 346.8 kB / 0.96 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.3105, allocations: 120.8 kB / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.3108, allocations: 200.9 kB / 0.9603 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.3114, allocations: 275.5 kB / 0.9606 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3114, allocations: 0 / 0.9606 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008276/0.3122, allocations: 370.1 kB / 0.9609 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3123, allocations: 7.938 kB / 0.9609 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3123, allocations: 4 kB / 0.9609 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3123, allocations: 8.156 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.3126, allocations: 75.83 kB / 0.961 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3127, allocations: 4 kB / 0.961 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.313, allocations: 55.5 kB / 0.9611 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.313, allocations: 16 kB / 0.9611 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003232/0.3134, allocations: 208.1 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002589/0.3136, allocations: 173.3 kB / 0.9615 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003669/0.314, allocations: 224.1 kB / 0.9617 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.314, allocations: 0 / 0.9617 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006287/0.3147, allocations: 328.9 kB / 0.962 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3147, allocations: 4 kB / 0.962 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3147, allocations: 7.938 kB / 0.962 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-06/0.3147, allocations: 4.094 kB / 0.962 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.315, allocations: 63.91 kB / 0.9621 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.315, allocations: 4 kB / 0.9621 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.3152, allocations: 35.83 kB / 0.9621 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3153, allocations: 8 kB / 0.9621 GB, free: 12.2 MB / 0.7481 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.0001512/0.3154, allocations: 204.2 kB / 0.9623 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.3155, allocations: 39.47 kB / 0.9623 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005305/0.316, allocations: 250.8 kB / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3161, allocations: 0 / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3161, allocations: 0 / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3161, allocations: 3.984 kB / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.3176, allocations: 0.8441 MB / 0.9634 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3176, allocations: 256 / 0.9634 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.3178, allocations: 55.91 kB / 0.9635 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.3179, allocations: 4 kB / 0.9635 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3179, allocations: 4 kB / 0.9635 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3179, allocations: 4 kB / 0.9635 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3179, allocations: 3.938 kB / 0.9635 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/0.3187, allocations: 490.8 kB / 0.9639 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3188, allocations: 116.7 kB / 0.9641 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.3188, allocations: 11.98 kB / 0.9641 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3191, allocations: 19.98 kB / 0.9641 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.3191, allocations: 24.05 kB / 0.9641 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3191, allocations: 12 kB / 0.9641 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003277/0.3195, allocations: 287.2 kB / 0.9644 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.81e-07/0.3195, allocations: 0 / 0.9644 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005592/0.32, allocations: 123.5 kB / 0.9645 GB, free: 9.59 MB / 0.7481 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.0001933/0.3202, allocations: 115.2 kB / 0.9646 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.3213, allocations: 413.4 kB / 0.965 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3213, allocations: 0 / 0.965 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3215, allocations: 95.83 kB / 0.9651 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.3222, allocations: 91.34 kB / 0.9652 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3237, allocations: 0.8429 MB / 0.966 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.3241, allocations: 0.8034 MB / 0.9668 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3242, allocations: 31.44 kB / 0.9668 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of SimCode: time 1.873e-06/0.3242, allocations: 0 / 0.9668 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of Templates: time 0.006928/0.3312, allocations: 4.259 MB / 0.971 GB, free: 2.871 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches