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.001243/0.001243, allocations: 107 kB / 15.99 MB, free: 5.895 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.001291/0.001292, allocations: 190.4 kB / 16.91 MB, free: 5.746 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.197/2.197, allocations: 390.3 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 65.69 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2865, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002081/0.2886, allocations: 0.9613 MB / 0.9507 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2897, allocations: 0.8897 MB / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.2898, allocations: 0 / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/0.2898, allocations: 3.938 kB / 0.9516 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.2899, allocations: 11.94 kB / 0.9516 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.2901, allocations: 51.95 kB / 0.9517 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.2903, allocations: 135.7 kB / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.2905, allocations: 65.44 kB / 0.9518 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.2906, allocations: 47.84 kB / 0.9519 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.2907, allocations: 63.69 kB / 0.952 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.2907, allocations: 12 kB / 0.952 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.2907, allocations: 12 kB / 0.952 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.2908, allocations: 35.84 kB / 0.952 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.2908, allocations: 59.66 kB / 0.9521 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2909, allocations: 107.7 kB / 0.9522 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.291, allocations: 4 kB / 0.9522 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/0.291, allocations: 0 / 0.9522 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.291, allocations: 0 / 0.9522 GB, free: 6.738 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.0006265/0.2916, allocations: 439.3 kB / 0.9526 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2917, allocations: 8.031 kB / 0.9526 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.2917, allocations: 24.67 kB / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.2919, allocations: 207.9 kB / 0.9528 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.292, allocations: 16.38 kB / 0.9528 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.292, allocations: 12.38 kB / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.2923, allocations: 142.2 kB / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2923, allocations: 192 / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.2924, allocations: 11.94 kB / 0.953 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2924, allocations: 4 kB / 0.953 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.2927, allocations: 124.5 kB / 0.9531 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.2934, allocations: 0.4883 MB / 0.9536 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.2936, allocations: 86.42 kB / 0.9537 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.2938, allocations: 52.83 kB / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2938, allocations: 0 / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2938, allocations: 34.56 kB / 0.9538 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.2939, allocations: 0 / 0.9538 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004537/0.2943, allocations: 157.6 kB / 0.9539 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.2944, allocations: 51.41 kB / 0.954 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2945, allocations: 195.5 kB / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2946, allocations: 25.7 kB / 0.9542 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.2946, allocations: 123.8 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.2947, allocations: 31.55 kB / 0.9543 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.2947, allocations: 29.7 kB / 0.9543 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2948, allocations: 322.8 kB / 0.9547 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.295, allocations: 43.91 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2951, allocations: 47.97 kB / 0.9547 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.2953, allocations: 92.83 kB / 0.9548 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2953, allocations: 0 / 0.9548 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000302/0.2956, allocations: 145.4 kB / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2956, allocations: 4 kB / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2957, allocations: 0 / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2957, allocations: 384 / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2958, allocations: 31.92 kB / 0.955 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.2959, allocations: 4 kB / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.296, allocations: 19.83 kB / 0.955 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.296, allocations: 7.938 kB / 0.955 GB, free: 3.578 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 8.265e-05/0.2961, allocations: 117.8 kB / 0.9551 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.2961, allocations: 19.81 kB / 0.9552 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.2965, allocations: 143 kB / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2965, allocations: 4 kB / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2965, allocations: 0 / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2965, allocations: 3.984 kB / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.2971, allocations: 452.8 kB / 0.9557 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2971, allocations: 4.094 kB / 0.9557 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.2972, allocations: 23.98 kB / 0.9558 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2972, allocations: 4 kB / 0.9558 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2972, allocations: 4 kB / 0.9558 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2972, allocations: 4 kB / 0.9558 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2972, allocations: 0 / 0.9558 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.2976, allocations: 245.8 kB / 0.956 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.2976, allocations: 96.89 kB / 0.9561 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.2977, allocations: 4 kB / 0.9561 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2978, allocations: 15.97 kB / 0.9561 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.2979, allocations: 11.94 kB / 0.9561 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2979, allocations: 8 kB / 0.9561 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001124/0.298, allocations: 149.1 kB / 0.9563 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.298, allocations: 3.938 kB / 0.9563 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002443/0.2982, allocations: 23.91 kB / 0.9563 GB, free: 2.145 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.000142/0.2984, allocations: 103.2 kB / 0.9564 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.2987, allocations: 111.9 kB / 0.9565 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2987, allocations: 4 kB / 0.9565 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2989, allocations: 51.89 kB / 0.9566 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2992, allocations: 16.19 kB / 0.9566 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.2997, allocations: 319.4 kB / 0.9569 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3001, allocations: 0.7122 MB / 0.9576 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.3001, allocations: 15.44 kB / 0.9576 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3001, allocations: 0 / 0.9576 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.003078/0.3032, allocations: 1.542 MB / 0.9591 GB, free: 15.21 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