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.00172/0.00172, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001886/0.001886, allocations: 188 kB / 17.34 MB, free: 5.738 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.567/1.567, allocations: 222.9 MB / 241 MB, free: 15.14 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.69/2.69, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8769/0.8789, allocations: 151.6 MB / 1.167 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002281/0.8812, allocations: 0.8974 MB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.8824, allocations: 0.8882 MB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.8825, allocations: 7.938 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.393e-05/0.8826, allocations: 11.86 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.8827, allocations: 11.81 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.8831, allocations: 67.91 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.8834, allocations: 135.7 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.8836, allocations: 61.45 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.8838, allocations: 47.86 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.8839, allocations: 63.69 kB / 1.17 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.8839, allocations: 15.94 kB / 1.17 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.518e-05/0.8839, allocations: 12 kB / 1.17 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.884, allocations: 35.84 kB / 1.17 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.8842, allocations: 63.64 kB / 1.17 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.8844, allocations: 132.5 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.8844, allocations: 0 / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8844, allocations: 0 / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.8844, allocations: 0 / 1.17 GB, free: 1.5 MB / 0.8887 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.0008842/0.8853, allocations: 450.9 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.8854, allocations: 8.922 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.8855, allocations: 20.84 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.8858, allocations: 225.8 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.8858, allocations: 8.375 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.8859, allocations: 16.38 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.8862, allocations: 150.1 kB / 1.171 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8862, allocations: 4.125 kB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.8863, allocations: 11.92 kB / 1.171 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.8863, allocations: 4 kB / 1.171 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.8866, allocations: 121 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008264/0.8874, allocations: 492.3 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.8877, allocations: 94.59 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.8878, allocations: 44.78 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.8878, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.8879, allocations: 38.55 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.8879, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0004723/0.8883, allocations: 157.5 kB / 1.172 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.8884, allocations: 55.41 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.8886, allocations: 196 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.8886, allocations: 25.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.8887, allocations: 120 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.8888, allocations: 31.7 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.8888, allocations: 29.7 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.889, allocations: 322.8 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.8891, allocations: 43.97 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.8892, allocations: 43.97 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.8895, allocations: 102.4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8895, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003115/0.8898, allocations: 141.5 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8898, allocations: 8 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8898, allocations: 0 / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8899, allocations: 0 / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.89, allocations: 23.98 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.89, allocations: 3.984 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.8901, allocations: 23.89 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.8902, allocations: 7.938 kB / 1.173 GB, free: 14.3 MB / 0.9044 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.0001052/0.8903, allocations: 117.8 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.8903, allocations: 11.91 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.8907, allocations: 147.3 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8907, allocations: 3.938 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8907, allocations: 4.094 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.8907, allocations: 7.922 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007963/0.8915, allocations: 456.8 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8916, allocations: 0 / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.8917, allocations: 23.92 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.8917, allocations: 4.094 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.8918, allocations: 8 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8918, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.8918, allocations: 8 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.8923, allocations: 245.9 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.8924, allocations: 97 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.8925, allocations: 0 / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.8927, allocations: 15.98 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.8928, allocations: 15.92 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.8928, allocations: 4 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001416/0.8929, allocations: 136.1 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8929, allocations: 7.938 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002605/0.8932, allocations: 24 kB / 1.174 GB, free: 12.87 MB / 0.9044 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.0001724/0.8934, allocations: 103.2 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.8937, allocations: 101.2 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8937, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.8939, allocations: 52.09 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.8942, allocations: 19.98 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.8948, allocations: 249.5 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.8951, allocations: 0.7161 MB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.365e-05/0.8952, allocations: 13.08 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.8953, allocations: 23.42 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.8953, allocations: 0 / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.004415/0.8997, allocations: 1.163 MB / 1.176 GB, free: 10.37 MB / 0.9044 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 -s cvode -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