Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 109 kB / 16.41 MB, free: 6.449 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.001293/0.001293, allocations: 189.2 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.583/1.583, allocations: 222.9 MB / 241 MB, free: 15.15 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.866/2.866, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9887/0.9907, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002221/0.9929, allocations: 0.8405 MB / 1.168 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.9931, allocations: 35.8 kB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.9932, allocations: 4 kB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/0.9932, allocations: 7.875 kB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.897e-05/0.9933, allocations: 11.86 kB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.656e-05/0.9934, allocations: 19.98 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.9935, allocations: 59.83 kB / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.9937, allocations: 47.98 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.9938, allocations: 27.86 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.9938, allocations: 27.84 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.9939, allocations: 11.94 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.9939, allocations: 8 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.9939, allocations: 11.88 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.994, allocations: 35.8 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.9941, allocations: 76.2 kB / 1.169 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9941, allocations: 0 / 1.169 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.378e-06/0.9941, allocations: 0 / 1.169 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.9941, allocations: 3.938 kB / 1.169 GB, free: 2.676 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005226/0.9947, allocations: 383.1 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.9947, allocations: 8.922 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.9948, allocations: 16.84 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.995, allocations: 196.1 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.995, allocations: 8.375 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.9951, allocations: 4.375 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.9953, allocations: 97.19 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.9953, allocations: 4.125 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.9953, allocations: 3.938 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.9953, allocations: 4 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.407e-05/0.9954, allocations: 39.98 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.9962, allocations: 432.8 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.9963, allocations: 45.16 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.9964, allocations: 25.77 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.9964, allocations: 4 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.9965, allocations: 34.5 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.9965, allocations: 0 / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002671/0.9968, allocations: 49.59 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.9968, allocations: 81.3 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.9971, allocations: 163.5 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.9972, allocations: 29.7 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.9973, allocations: 104 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.9973, allocations: 7.953 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.9974, allocations: 13.72 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.9976, allocations: 318.8 kB / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.9976, allocations: 8 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.9977, allocations: 21.7 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.9977, allocations: 29.72 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.9977, allocations: 0 / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/0.9978, allocations: 57.55 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.9979, allocations: 7.984 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.9979, allocations: 11.88 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.9979, allocations: 3.938 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.998, allocations: 8.062 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.998, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.9981, allocations: 11.88 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.9981, allocations: 0 / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001278/0.9982, allocations: 113.8 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.9983, allocations: 7.953 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.9984, allocations: 23.8 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9984, allocations: 0 / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9984, allocations: 0 / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.9984, allocations: 8.094 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.999, allocations: 470.7 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.999, allocations: 7.984 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.999, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.999, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.999, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.999, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9991, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.9992, allocations: 85.88 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.9993, allocations: 93.05 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.9993, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.9993, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.9993, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.9993, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001141/0.9995, allocations: 125.5 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9995, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000193/0.9997, allocations: 8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001779/0.9999, allocations: 95.25 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001317/1, allocations: 19.94 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/1, allocations: 12.17 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/1, allocations: 16 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/1.001, allocations: 164.8 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/1.001, allocations: 0.6924 MB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.452e-05/1.001, allocations: 4.438 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/1.001, allocations: 15.38 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/1.001, allocations: 4 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.00337/1.005, allocations: 460.5 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches