Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001127/0.001127, allocations: 193.3 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 69.66 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002633/0.3025, allocations: 1.421 MB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004271/0.3029, allocations: 211.4 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.303, allocations: 4 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.303, allocations: 3.938 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.3032, allocations: 11.91 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.292e-05/0.3033, allocations: 27.84 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3034, allocations: 43.92 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.3035, allocations: 15.98 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.3036, allocations: 19.92 kB / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.3036, allocations: 27.91 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3036, allocations: 4 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.3037, allocations: 4 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.3037, allocations: 15.86 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.3037, allocations: 11.94 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.919e-05/0.3038, allocations: 51.8 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3038, allocations: 0 / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3038, allocations: 0 / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.3038, allocations: 4 kB / 0.953 GB, free: 6.137 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004864/0.3043, allocations: 359.3 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3044, allocations: 8.031 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3044, allocations: 8.844 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.3046, allocations: 180.3 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3046, allocations: 4.375 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3046, allocations: 384 / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3048, allocations: 66.17 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.3048, allocations: 192 / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3048, allocations: 3.938 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3048, allocations: 0 / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.305, allocations: 43.95 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.3054, allocations: 284.9 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.3057, allocations: 70.48 kB / 0.954 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.3058, allocations: 36.77 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3058, allocations: 0 / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.3058, allocations: 30.56 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3058, allocations: 0 / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003447/0.3062, allocations: 101.6 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.3062, allocations: 55.39 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.3063, allocations: 109.8 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3063, allocations: 29.7 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.3064, allocations: 91.92 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.3064, allocations: 15.84 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.3065, allocations: 25.7 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3066, allocations: 310.8 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.3067, allocations: 23.98 kB / 0.9548 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.3068, allocations: 27.97 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3069, allocations: 52.95 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3069, allocations: 3.938 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002196/0.3072, allocations: 93.56 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3072, allocations: 5.719 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3072, allocations: 0 / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3072, allocations: 0 / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.3073, allocations: 19.92 kB / 0.9549 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3073, allocations: 0 / 0.9549 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.3074, allocations: 7.984 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3074, allocations: 0 / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.012e-05/0.3075, allocations: 121.8 kB / 0.9551 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3075, allocations: 3.906 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.3078, allocations: 89.55 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3078, allocations: 0 / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3078, allocations: 0 / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3078, allocations: 0 / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.308, allocations: 173.6 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.308, allocations: 8 kB / 0.9553 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.3081, allocations: 16.3 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3081, allocations: 240 / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3081, allocations: 4 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3081, allocations: 0 / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3081, allocations: 3.938 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.3085, allocations: 219.3 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.3086, allocations: 77.11 kB / 0.9556 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3086, allocations: 4 kB / 0.9556 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.3087, allocations: 8.016 kB / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.3087, allocations: 4 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.3087, allocations: 4.062 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.75e-05/0.3088, allocations: 99.14 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3088, allocations: 0 / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002149/0.309, allocations: 8.062 kB / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.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 (4): * Single equations (assignments): 4 * 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.000122/0.3091, allocations: 99.25 kB / 0.9559 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3094, allocations: 55.95 kB / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3094, allocations: 0 / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/0.3095, allocations: 27.97 kB / 0.9559 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3098, allocations: 15.88 kB / 0.9559 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.3102, allocations: 158.5 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3105, allocations: 0.6883 MB / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.3105, allocations: 0 / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.3105, allocations: 11.44 kB / 0.9568 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.3105, allocations: 0 / 0.9568 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of Templates: time 0.002763/0.3133, allocations: 0.6126 MB / 0.9574 GB, free: 1.234 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches