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.001144/0.001144, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001196/0.001196, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.55/2.55, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 69.03 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3257, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00211/0.3278, allocations: 0.9045 MB / 1.028 GB, free: 1.109 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.329, allocations: 0.8819 MB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.3291, allocations: 4 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.869e-05/0.3292, allocations: 19.8 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.3293, allocations: 7.875 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.3295, allocations: 55.92 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.3298, allocations: 143.8 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.33, allocations: 61.41 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3301, allocations: 51.78 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.3302, allocations: 67.67 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.3302, allocations: 12 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.312e-05/0.3302, allocations: 16 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.3303, allocations: 27.92 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.3303, allocations: 59.66 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.3305, allocations: 147.4 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3305, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3305, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3306, allocations: 0 / 1.029 GB, free: 15.55 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.0006847/0.3312, allocations: 435.1 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3313, allocations: 16.02 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.3314, allocations: 12.75 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.3317, allocations: 216.1 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3317, allocations: 8.375 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3317, allocations: 12.38 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.332, allocations: 143 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3321, allocations: 192 / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3321, allocations: 11.94 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.3321, allocations: 4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.3324, allocations: 136.4 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.3331, allocations: 495.9 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3333, allocations: 90.47 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3334, allocations: 48.83 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3334, allocations: 3.938 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3335, allocations: 34.56 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3335, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004287/0.3339, allocations: 157.6 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.334, allocations: 55.41 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3341, allocations: 196 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3342, allocations: 25.7 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.3342, allocations: 123.9 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3343, allocations: 39.39 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.3343, allocations: 25.72 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3345, allocations: 322.8 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3346, allocations: 43.97 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3347, allocations: 47.97 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.3349, allocations: 96.31 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.335, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002851/0.3352, allocations: 141.5 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3353, allocations: 8 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3353, allocations: 0 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3353, allocations: 11.92 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3355, allocations: 19.98 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3355, allocations: 4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.3356, allocations: 19.75 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3356, allocations: 4 kB / 1.032 GB, free: 12.37 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 9.25e-05/0.3357, allocations: 129.7 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.3357, allocations: 15.91 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.3361, allocations: 135 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3361, allocations: 4 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3361, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3361, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.3366, allocations: 456.8 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3367, allocations: 0 / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.3368, allocations: 24.45 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3368, allocations: 4 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3368, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3368, allocations: 4 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3368, allocations: 3.938 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.3371, allocations: 253.7 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.3372, allocations: 100.8 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3372, allocations: 4 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3373, allocations: 11.98 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3374, allocations: 19.92 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3374, allocations: 4 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001085/0.3375, allocations: 145.2 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3375, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002432/0.3378, allocations: 20 kB / 1.033 GB, free: 10.94 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.0001296/0.3379, allocations: 109.8 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.3382, allocations: 103.9 kB / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3382, allocations: 0 / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3383, allocations: 43.92 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3386, allocations: 19.98 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.3391, allocations: 249.8 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.3394, allocations: 0.7084 MB / 1.034 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.89e-05/0.3394, allocations: 13.08 kB / 1.034 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.3395, allocations: 15.44 kB / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3395, allocations: 4 kB / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of Templates: time 0.003532/0.343, allocations: 1.146 MB / 1.036 GB, free: 8.473 MB / 0.8106 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 -s gbode -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