Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.007599/0.007598, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.00182/0.00182, allocations: 195.3 kB / 16.79 MB, free: 5.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.45 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3081, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002613/0.3108, allocations: 0.9401 MB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.312, allocations: 0.8896 MB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3122, allocations: 0 / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.657e-05/0.3122, allocations: 7.922 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.3124, allocations: 7.875 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3126, allocations: 63.94 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.3128, allocations: 127.7 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.313, allocations: 57.45 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.3131, allocations: 43.78 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.225e-05/0.3132, allocations: 67.67 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.3132, allocations: 8 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.371e-05/0.3132, allocations: 8 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.3133, allocations: 23.92 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.3133, allocations: 55.66 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.3135, allocations: 91.8 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3135, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3135, allocations: 4 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3135, allocations: 0 / 1.055 GB, free: 5.859 MB / 0.8106 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.0007343/0.3143, allocations: 443.3 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3143, allocations: 11.97 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.3144, allocations: 16.75 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3146, allocations: 215 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3146, allocations: 8.375 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3147, allocations: 16.31 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.315, allocations: 150.1 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3151, allocations: 4.188 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3151, allocations: 11.94 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3151, allocations: 4 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.3154, allocations: 132.4 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.3162, allocations: 496 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3164, allocations: 86.42 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.3166, allocations: 48.83 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3166, allocations: 0 / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3166, allocations: 34.56 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3166, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004898/0.3171, allocations: 157.9 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3172, allocations: 51.41 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.3174, allocations: 191.6 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3174, allocations: 33.64 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.3175, allocations: 115.9 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.3176, allocations: 35.53 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.3176, allocations: 37.61 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3177, allocations: 326.8 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3179, allocations: 35.97 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.318, allocations: 39.98 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.3183, allocations: 96.75 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3183, allocations: 0 / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003273/0.3186, allocations: 149.5 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3186, allocations: 4 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3186, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3187, allocations: 4 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.3188, allocations: 31.92 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3189, allocations: 0 / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.319, allocations: 23.73 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.319, allocations: 4 kB / 1.058 GB, free: 2.68 MB / 0.8106 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.0001083/0.3191, allocations: 125.8 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3191, allocations: 15.84 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.3195, allocations: 135 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3195, allocations: 4 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3195, allocations: 0 / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3196, allocations: 3.984 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.3202, allocations: 452.8 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3202, allocations: 0 / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3203, allocations: 23.98 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3203, allocations: 3.984 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3203, allocations: 4 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3203, allocations: 4.094 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3203, allocations: 0 / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.3207, allocations: 249.9 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.3208, allocations: 101 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3208, allocations: 7.938 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.321, allocations: 15.98 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.321, allocations: 15.86 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.321, allocations: 4 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001088/0.3211, allocations: 149.1 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3211, allocations: 0 / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002496/0.3214, allocations: 24 kB / 1.059 GB, free: 1.246 MB / 0.8106 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.0001666/0.3216, allocations: 107.2 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.3219, allocations: 98.25 kB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3219, allocations: 4 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.322, allocations: 47.91 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3224, allocations: 16.19 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.3229, allocations: 316.9 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3232, allocations: 0.7048 MB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.3233, allocations: 19.44 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3233, allocations: 0 / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.003474/0.3268, allocations: 1.541 MB / 1.062 GB, free: 14.33 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches