Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 105.4 kB / 15.98 MB, free: 6.352 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.001454/0.001454, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.577/2.577, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.00189, allocations: 66.23 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2908, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002417/0.2933, allocations: 0.944 MB / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2946, allocations: 0.8896 MB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.2947, allocations: 4 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.2948, allocations: 11.86 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.2949, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.2951, allocations: 59.88 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.2953, allocations: 131.8 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.2955, allocations: 57.45 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.2956, allocations: 59.72 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.2957, allocations: 63.69 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.2957, allocations: 16 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.2957, allocations: 12 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.2958, allocations: 31.91 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.2958, allocations: 55.67 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.296, allocations: 103.8 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.296, allocations: 0 / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.296, allocations: 0 / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.296, allocations: 3.938 kB / 1.067 GB, free: 12.67 MB / 0.8419 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.0006819/0.2967, allocations: 443.4 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2967, allocations: 12.03 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.2968, allocations: 12.75 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.297, allocations: 208.1 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.297, allocations: 12.36 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.2971, allocations: 12.38 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.2974, allocations: 158.7 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2974, allocations: 192 / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2975, allocations: 7.938 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2975, allocations: 4 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.2978, allocations: 127.9 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.2986, allocations: 0.492 MB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.2988, allocations: 90.47 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.2989, allocations: 40.84 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.2989, allocations: 7.984 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.299, allocations: 34.56 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.299, allocations: 192 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0004529/0.2994, allocations: 153.5 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2995, allocations: 63.34 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.2997, allocations: 195.4 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2997, allocations: 25.7 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.2998, allocations: 112 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.2999, allocations: 39.45 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.2999, allocations: 25.72 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3001, allocations: 326.8 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.3002, allocations: 39.97 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3003, allocations: 43.97 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3005, allocations: 95.56 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3006, allocations: 0 / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003048/0.3009, allocations: 145.8 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3009, allocations: 8 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3009, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3009, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3011, allocations: 31.91 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3011, allocations: 0 / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3012, allocations: 27.75 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3012, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8419 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.0001078/0.3013, allocations: 129.8 kB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.3014, allocations: 11.84 kB / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.3017, allocations: 138.9 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3017, allocations: 0 / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3017, allocations: 0 / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3017, allocations: 4 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.3024, allocations: 456.8 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3024, allocations: 7.938 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3025, allocations: 19.98 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3025, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3025, allocations: 12.09 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3025, allocations: 3.938 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3025, allocations: 4 kB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.3029, allocations: 245.8 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.3029, allocations: 100.8 kB / 1.07 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.303, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3031, allocations: 15.98 kB / 1.071 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3032, allocations: 15.92 kB / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.3032, allocations: 0 / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001143/0.3033, allocations: 145.2 kB / 1.071 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3033, allocations: 0 / 1.071 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002386/0.3036, allocations: 28 kB / 1.071 GB, free: 8.062 MB / 0.8419 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.0001408/0.3037, allocations: 107.2 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.304, allocations: 95.88 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.304, allocations: 192 / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.3041, allocations: 47.92 kB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3045, allocations: 26.08 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.305, allocations: 307.3 kB / 1.071 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.3053, allocations: 0.7084 MB / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.3054, allocations: 15.44 kB / 1.072 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3054, allocations: 4 kB / 1.072 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of Templates: time 0.003069/0.3085, allocations: 1.554 MB / 1.073 GB, free: 5.129 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches