Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006811/0.006811, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001386/0.001386, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.618/2.618, allocations: 461.9 MB / 0.7347 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.91 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.085, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00256/1.088, allocations: 0.8136 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/1.088, allocations: 51.72 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/1.088, allocations: 0 / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.807e-05/1.088, allocations: 15.8 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/1.089, allocations: 7.875 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.417e-05/1.089, allocations: 19.98 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/1.089, allocations: 59.84 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/1.089, allocations: 47.91 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.664e-05/1.089, allocations: 23.88 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/1.089, allocations: 31.78 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/1.089, allocations: 8 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/1.089, allocations: 4 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/1.089, allocations: 19.94 kB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/1.089, allocations: 43.78 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/1.089, allocations: 59.72 kB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.089, allocations: 0 / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.345e-06/1.089, allocations: 3.938 kB / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.079e-05/1.089, allocations: 0 / 1.209 GB, free: 12.38 MB / 0.9356 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.0005168/1.09, allocations: 388.8 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.09, allocations: 8.031 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/1.09, allocations: 12.84 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/1.09, allocations: 196.1 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.09, allocations: 4.375 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/1.09, allocations: 8.375 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/1.09, allocations: 99.88 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/1.09, allocations: 192 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.091, allocations: 3.938 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.091, allocations: 0 / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/1.091, allocations: 35.98 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/1.091, allocations: 440.5 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/1.091, allocations: 41.16 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/1.091, allocations: 25.86 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/1.091, allocations: 4 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.091, allocations: 34.56 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.091, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001899/1.092, allocations: 57.48 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.092, allocations: 77.11 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/1.092, allocations: 160.7 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/1.092, allocations: 25.95 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.092, allocations: 108 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/1.092, allocations: 3.906 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/1.092, allocations: 21.7 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.092, allocations: 322.8 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/1.092, allocations: 4 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/1.092, allocations: 21.7 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/1.092, allocations: 29.66 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.092, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/1.092, allocations: 61.59 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.092, allocations: 4 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.092, allocations: 7.875 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.092, allocations: 0 / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/1.092, allocations: 8 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.093, allocations: 0 / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/1.093, allocations: 7.969 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/1.093, allocations: 4 kB / 1.211 GB, free: 9.945 MB / 0.9356 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 8.487e-05/1.093, allocations: 114.7 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/1.093, allocations: 11.84 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/1.093, allocations: 15.8 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.093, allocations: 4 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.093, allocations: 0 / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.093, allocations: 0 / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/1.093, allocations: 474.8 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.093, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/1.093, allocations: 4 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.093, allocations: 0 / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.093, allocations: 4 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.093, allocations: 0 / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.093, allocations: 4 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.621e-05/1.093, allocations: 85.83 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/1.093, allocations: 88.94 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/1.093, allocations: 4 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/1.093, allocations: 4 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/1.093, allocations: 0 / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/1.093, allocations: 4 kB / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.176e-05/1.094, allocations: 117.3 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.094, allocations: 8.031 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001824/1.094, allocations: 7.906 kB / 1.212 GB, free: 8.898 MB / 0.9356 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.00016/1.094, allocations: 99.25 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.531e-05/1.094, allocations: 19.92 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.094, allocations: 0 / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/1.094, allocations: 8 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/1.094, allocations: 9.812 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/1.095, allocations: 171 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/1.095, allocations: 0.6962 MB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.328e-05/1.095, allocations: 8.438 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/1.095, allocations: 7.438 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.095, allocations: 8 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of Templates: time 0.002713/1.098, allocations: 456.6 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches