Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001651/0.001651, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.183/2.183, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 68.28 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2963, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002564/0.299, allocations: 0.8927 MB / 0.9512 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3002, allocations: 0.8858 MB / 0.952 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3004, allocations: 0 / 0.952 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.62e-05/0.3005, allocations: 15.8 kB / 0.952 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.3006, allocations: 7.875 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.3009, allocations: 67.91 kB / 0.9521 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.3011, allocations: 143.6 kB / 0.9523 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.3014, allocations: 65.44 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.3015, allocations: 43.86 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.488e-05/0.3016, allocations: 67.67 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.3016, allocations: 12 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.3016, allocations: 12 kB / 0.9524 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.3017, allocations: 35.84 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.3018, allocations: 55.67 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.302, allocations: 139.5 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.302, allocations: 0 / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.302, allocations: 0 / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.302, allocations: 0 / 0.9527 GB, free: 6.398 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007531/0.3028, allocations: 451.3 kB / 0.9531 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3028, allocations: 8.031 kB / 0.9531 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.3029, allocations: 16.75 kB / 0.9531 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3032, allocations: 204.1 kB / 0.9533 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3032, allocations: 12.38 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3032, allocations: 12.38 kB / 0.9533 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.3036, allocations: 150.7 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3036, allocations: 192 / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3036, allocations: 15.88 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3036, allocations: 0 / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.304, allocations: 127.9 kB / 0.9536 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.3048, allocations: 0.4883 MB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.305, allocations: 82.48 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3051, allocations: 48.95 kB / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3052, allocations: 4 kB / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3052, allocations: 34.56 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.3052, allocations: 0 / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004934/0.3057, allocations: 157.4 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.3058, allocations: 55.78 kB / 0.9545 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.306, allocations: 187.5 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.306, allocations: 29.7 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.3061, allocations: 127.9 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3061, allocations: 35.48 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.3062, allocations: 25.72 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3063, allocations: 326.8 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3065, allocations: 35.98 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3066, allocations: 47.59 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.3068, allocations: 104.8 kB / 0.9553 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3068, allocations: 0 / 0.9553 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003132/0.3072, allocations: 149.3 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3072, allocations: 4 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3072, allocations: 0 / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3072, allocations: 0 / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3074, allocations: 23.98 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3074, allocations: 0 / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3075, allocations: 23.83 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3075, allocations: 8 kB / 0.9555 GB, free: 3.227 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 (13): * Single equations (assignments): 13 * 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.0001042/0.3076, allocations: 121.7 kB / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.3077, allocations: 15.81 kB / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.3081, allocations: 139 kB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3081, allocations: 0 / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3081, allocations: 4 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3081, allocations: 4 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.3087, allocations: 448.8 kB / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3087, allocations: 0 / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3089, allocations: 23.92 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3089, allocations: 8.094 kB / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3089, allocations: 11.98 kB / 0.9563 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3089, allocations: 4 kB / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3089, allocations: 0 / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.3093, allocations: 241.8 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.3093, allocations: 92.94 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3094, allocations: 8.188 kB / 0.9566 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.3095, allocations: 11.98 kB / 0.9566 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.3096, allocations: 23.84 kB / 0.9566 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3096, allocations: 4 kB / 0.9566 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001379/0.3097, allocations: 149.1 kB / 0.9568 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3098, allocations: 4 kB / 0.9568 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002546/0.31, allocations: 23.91 kB / 0.9568 GB, free: 1.793 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (10): * Single equations (assignments): 10 * 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.0001746/0.3102, allocations: 103.2 kB / 0.9569 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.3105, allocations: 103.9 kB / 0.957 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3105, allocations: 4 kB / 0.957 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.3107, allocations: 52.09 kB / 0.9571 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.311, allocations: 12 kB / 0.9571 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.3116, allocations: 283.2 kB / 0.9574 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3119, allocations: 0.7083 MB / 0.958 GB, free: 476 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.312, allocations: 19.44 kB / 0.9581 GB, free: 456 kB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.312, allocations: 0 / 0.9581 GB, free: 456 kB / 0.7325 GB Notification: Performance of Templates: time 0.003353/0.3153, allocations: 1.549 MB / 0.9596 GB, free: 14.9 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches