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.009628/0.009628, allocations: 99.33 kB / 15.73 MB, free: 6.055 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.002295/0.002295, allocations: 195.6 kB / 16.67 MB, free: 5.961 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.65/2.65, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.88 kB / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002241/1.014, allocations: 0.883 MB / 1.222 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001138/1.015, allocations: 0.8858 MB / 1.222 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/1.015, allocations: 7.938 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.192e-05/1.015, allocations: 15.86 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.581e-05/1.015, allocations: 7.875 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/1.015, allocations: 63.91 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/1.016, allocations: 143.7 kB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/1.016, allocations: 53.39 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/1.016, allocations: 43.86 kB / 1.223 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/1.016, allocations: 63.69 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/1.016, allocations: 12 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.177e-05/1.016, allocations: 16 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/1.016, allocations: 39.84 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/1.016, allocations: 59.66 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/1.016, allocations: 140 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.016, allocations: 0 / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/1.016, allocations: 0 / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.967e-06/1.016, allocations: 3.984 kB / 1.223 GB, free: 15.68 MB / 0.9512 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.0007014/1.017, allocations: 434.9 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.017, allocations: 16.03 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/1.017, allocations: 16.84 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/1.017, allocations: 228 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/1.018, allocations: 8.375 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/1.018, allocations: 16.31 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/1.018, allocations: 146.1 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.018, allocations: 4.172 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/1.018, allocations: 15.94 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.018, allocations: 4 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/1.018, allocations: 127.9 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007911/1.019, allocations: 492.2 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/1.019, allocations: 82.47 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/1.019, allocations: 44.84 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/1.019, allocations: 0 / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/1.019, allocations: 38.67 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/1.019, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004503/1.02, allocations: 157.5 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.02, allocations: 55.41 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/1.02, allocations: 199.4 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/1.02, allocations: 25.7 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/1.02, allocations: 116 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/1.02, allocations: 31.7 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/1.02, allocations: 29.7 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.02, allocations: 326.8 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/1.02, allocations: 39.97 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/1.021, allocations: 46.09 kB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/1.021, allocations: 88.81 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.021, allocations: 8 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000281/1.021, allocations: 156.3 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.021, allocations: 4 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.021, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.021, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/1.021, allocations: 23.98 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.021, allocations: 3.984 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/1.021, allocations: 24.22 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/1.021, allocations: 4 kB / 1.226 GB, free: 12.5 MB / 0.9512 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.994e-05/1.021, allocations: 129.7 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/1.022, allocations: 11.95 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/1.022, allocations: 150.8 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.022, allocations: 0 / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.022, allocations: 0 / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.022, allocations: 4 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/1.022, allocations: 456.9 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.022, allocations: 0 / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/1.023, allocations: 23.92 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/1.023, allocations: 4 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.023, allocations: 0 / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.023, allocations: 4 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.023, allocations: 0 / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/1.023, allocations: 249.9 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/1.023, allocations: 97 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/1.023, allocations: 4 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/1.023, allocations: 19.98 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/1.023, allocations: 11.92 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/1.023, allocations: 4 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001202/1.023, allocations: 137.2 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/1.023, allocations: 4 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002329/1.023, allocations: 20 kB / 1.227 GB, free: 11.06 MB / 0.9512 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.0001521/1.024, allocations: 111.2 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002934/1.024, allocations: 95.89 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.024, allocations: 0 / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/1.024, allocations: 43.91 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/1.024, allocations: 21.7 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/1.025, allocations: 253.8 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/1.025, allocations: 0.7045 MB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.757e-05/1.025, allocations: 17.02 kB / 1.228 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/1.025, allocations: 23.42 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/1.025, allocations: 0 / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of Templates: time 0.00348/1.029, allocations: 1.176 MB / 1.23 GB, free: 8.566 MB / 0.9512 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=480 -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/jenkins/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