Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 102.7 kB / 16.4 MB, free: 5.977 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.001749/0.001749, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.08 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.523/2.523, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9138/0.9156, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00212/0.9178, allocations: 0.8325 MB / 1.168 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.9179, allocations: 39.8 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.918, allocations: 4 kB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.9181, allocations: 11.86 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.9182, allocations: 7.922 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.479e-05/0.9182, allocations: 19.98 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.9184, allocations: 63.78 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.9185, allocations: 47.97 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.495e-05/0.9186, allocations: 19.88 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.9186, allocations: 27.84 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.9187, allocations: 8 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.506e-05/0.9187, allocations: 8 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.9187, allocations: 11.94 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.9188, allocations: 43.67 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.9189, allocations: 71.7 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.9189, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9189, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.9189, allocations: 0 / 1.168 GB, free: 2.633 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.0004464/0.9194, allocations: 388.8 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.9194, allocations: 12.92 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.9194, allocations: 12.78 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.9197, allocations: 192.1 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.9197, allocations: 8.359 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.9197, allocations: 8.375 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.9199, allocations: 98.39 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.9199, allocations: 192 / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.9199, allocations: 7.922 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9199, allocations: 4 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.9201, allocations: 39.92 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.9206, allocations: 432.5 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.087e-05/0.9207, allocations: 53.39 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.9208, allocations: 13.72 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-06/0.9208, allocations: 0 / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.9208, allocations: 34.56 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9208, allocations: 4 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/0.921, allocations: 57.48 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.9211, allocations: 85.03 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.9212, allocations: 156.7 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.9213, allocations: 25.7 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.9213, allocations: 104 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.345e-06/0.9213, allocations: 7.906 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.9214, allocations: 17.7 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.9215, allocations: 323.1 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.9215, allocations: 7.984 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.9216, allocations: 17.72 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.9216, allocations: 21.72 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9216, allocations: 0 / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.91e-05/0.9217, allocations: 65.53 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.9217, allocations: 8.062 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9217, allocations: 3.938 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.9218, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.9218, allocations: 8 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.9218, allocations: 3.938 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.9219, allocations: 15.84 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.9219, allocations: 0 / 1.171 GB, free: 192 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 9.465e-05/0.922, allocations: 117.8 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.922, allocations: 7.906 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.9221, allocations: 23.8 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9221, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9221, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.9221, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.9225, allocations: 466.8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9226, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.9226, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9226, allocations: 64 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.9226, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.9226, allocations: 7.984 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9226, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.701e-05/0.9227, allocations: 77.84 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.9228, allocations: 92.94 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.9228, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.9228, allocations: 7.969 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.9228, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.9229, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.923, allocations: 122.1 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/0.923, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001915/0.9232, allocations: 7.906 kB / 1.172 GB, free: 15.14 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.0001179/0.9233, allocations: 99.25 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.373e-05/0.9234, allocations: 23.98 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9234, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.9234, allocations: 7.938 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.9236, allocations: 11.94 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.9239, allocations: 180.5 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.9242, allocations: 0.7004 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.9243, allocations: 11.44 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.9243, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.002349/0.9266, allocations: 0.8639 MB / 1.173 GB, free: 13.17 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches