Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001509/0.001509, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001715/0.001715, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 73.3 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3136, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002431/0.3161, allocations: 0.887 MB / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3174, allocations: 0.8935 MB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.3176, allocations: 4 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.3176, allocations: 11.81 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.3178, allocations: 7.875 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.318, allocations: 75.83 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.3182, allocations: 135.7 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.3184, allocations: 57.47 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/0.3185, allocations: 51.78 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.3186, allocations: 67.67 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.3187, allocations: 12 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.3187, allocations: 12 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.3187, allocations: 31.91 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.3188, allocations: 55.67 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.319, allocations: 135.5 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.319, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.319, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.319, allocations: 4 kB / 1.02 GB, free: 8.18 MB / 0.795 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.0007333/0.3198, allocations: 447.3 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3198, allocations: 12.92 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.3199, allocations: 16.75 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3201, allocations: 204.9 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3202, allocations: 8.375 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3202, allocations: 24.36 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.3205, allocations: 142.2 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3206, allocations: 192 / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.3206, allocations: 7.938 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3206, allocations: 4 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.3209, allocations: 135.8 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/0.3217, allocations: 496 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.322, allocations: 86.47 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.3221, allocations: 46.36 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3221, allocations: 8 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3222, allocations: 34.69 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3222, allocations: 3.938 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0005079/0.3227, allocations: 153.8 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3227, allocations: 55.41 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3229, allocations: 196 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.323, allocations: 29.8 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.3231, allocations: 127.8 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3231, allocations: 31.55 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.3232, allocations: 29.62 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3233, allocations: 318.8 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.3234, allocations: 43.97 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3236, allocations: 43.97 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3238, allocations: 94.81 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3238, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003255/0.3242, allocations: 149.4 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3242, allocations: 4 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3242, allocations: 3.984 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3242, allocations: 0 / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3244, allocations: 23.98 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3244, allocations: 4 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3245, allocations: 23.75 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3245, allocations: 4 kB / 1.023 GB, free: 5.004 MB / 0.795 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.0001065/0.3246, allocations: 126.8 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.3247, allocations: 15.91 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.325, allocations: 135 kB / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3251, allocations: 3.938 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3251, allocations: 0 / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3251, allocations: 0 / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.3257, allocations: 456.8 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3257, allocations: 0 / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3258, allocations: 28.08 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3258, allocations: 7.938 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3258, allocations: 0 / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3258, allocations: 0 / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3259, allocations: 4 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.3262, allocations: 245.8 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.3263, allocations: 101 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3263, allocations: 3.938 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3265, allocations: 19.92 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.3265, allocations: 15.92 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3266, allocations: 4 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001296/0.3267, allocations: 144.1 kB / 1.024 GB, free: 3.602 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3267, allocations: 0 / 1.024 GB, free: 3.602 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002662/0.327, allocations: 24 kB / 1.024 GB, free: 3.578 MB / 0.795 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.0001587/0.3271, allocations: 103.2 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.3275, allocations: 102.8 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3275, allocations: 0 / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.3276, allocations: 51.91 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.328, allocations: 16 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.3286, allocations: 271.5 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3289, allocations: 0.7123 MB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.329, allocations: 19.44 kB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.329, allocations: 0 / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of Templates: time 0.003622/0.3326, allocations: 1.561 MB / 1.027 GB, free: 0.6797 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches